aboutsummaryrefslogtreecommitdiff
path: root/src/core/mainloop/mainloop.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/mainloop/mainloop.h')
-rw-r--r--src/core/mainloop/mainloop.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/mainloop/mainloop.h b/src/core/mainloop/mainloop.h
index 98d0b3a058..64782c1318 100644
--- a/src/core/mainloop/mainloop.h
+++ b/src/core/mainloop/mainloop.h
@@ -38,7 +38,7 @@ typedef enum watchable_events {
WRITE_EVENT=0x04 /**< We want to know when a connection is writable */
} watchable_events_t;
void connection_watch_events(connection_t *conn, watchable_events_t events);
-int connection_is_reading(connection_t *conn);
+int connection_is_reading(const connection_t *conn);
MOCK_DECL(void,connection_stop_reading,(connection_t *conn));
MOCK_DECL(void,connection_start_reading,(connection_t *conn));