aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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);