diff options
-rw-r--r-- | src/bus.c | 2 | ||||
-rw-r--r-- | src/bus.h | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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; @@ -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); |