aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-04-26 23:49:08 +0200
committerMattias Andrée <maandree@operamail.com>2015-04-26 23:49:08 +0200
commit9ac38e0f5a6c5e71696599ac3abf0a14547e7b3d (patch)
tree2cda749e3d2526f59f4ac3f4b8fe993162a668d9 /src
parentremove bus_poll_continue, abi breakage (diff)
downloadbus-9ac38e0f5a6c5e71696599ac3abf0a14547e7b3d.tar.gz
bus-9ac38e0f5a6c5e71696599ac3abf0a14547e7b3d.tar.bz2
bus-9ac38e0f5a6c5e71696599ac3abf0a14547e7b3d.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/bus.c2
-rw-r--r--src/bus.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/bus.c b/src/bus.c
index c69c492..cf5cec0 100644
--- a/src/bus.c
+++ b/src/bus.c
@@ -683,7 +683,7 @@ bus_poll_stop(const bus_t *bus)
const char *
-bus_poll(const bus_t *bus)
+bus_poll(bus_t *bus)
{
if (bus->first_poll) {
bus->first_poll = 0;
diff --git a/src/bus.h b/src/bus.h
index d30a5d9..52d0e98 100644
--- a/src/bus.h
+++ b/src/bus.h
@@ -179,9 +179,9 @@ int bus_write(const bus_t *bus, const char *message);
int bus_read(const bus_t *bus, int (*callback)(const char *message, void *user_data), void *user_data);
-int bus_poll_start(const bus_t *bus);
+int bus_poll_start(bus_t *bus);
int bus_poll_stop(const bus_t *bus);
-const char *bus_poll(const bus_t *bus);
+const char *bus_poll(bus_t *bus);