From 9ac38e0f5a6c5e71696599ac3abf0a14547e7b3d Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 26 Apr 2015 23:49:08 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/bus.c | 2 +- src/bus.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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); -- cgit v1.2.3-70-g09d2