aboutsummaryrefslogtreecommitdiff
path: root/nio.h
diff options
context:
space:
mode:
Diffstat (limited to 'nio.h')
-rw-r--r--nio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nio.h b/nio.h
index ae7b1e9e9..a0ac0b6b0 100644
--- a/nio.h
+++ b/nio.h
@@ -46,7 +46,7 @@ int nio_del_fd(struct nio * io, int fd);
int nio_run(struct nio * io, int timeout);
-static inline int nio_get_nready(struct nio * io)
+static inline int nio_get_nready(struct nio const * const io)
{
return io->nready;
}