summaryrefslogtreecommitdiff
path: root/nio.h
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2023-11-06 23:49:51 +0100
committerToni Uhlig <matzeton@googlemail.com>2023-11-07 00:02:36 +0100
commit5d56288a113aa3aa2e68dbf54f0acde0650bafcb (patch)
treebc4e9904feac2a8c9e5f5287774416b1aa3822f9 /nio.h
parent84b12cd02c1f11d134f00b0a066414a677a53719 (diff)
Fixed more SonarCloud complaints.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
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 a0ac0b6b0..76bb7c8cb 100644
--- a/nio.h
+++ b/nio.h
@@ -53,7 +53,7 @@ static inline int nio_get_nready(struct nio const * const io)
int nio_check(struct nio * io, int index, int events);
-int nio_is_valid(struct nio * io, int index);
+int nio_is_valid(struct nio const * const io, int index);
int nio_get_fd(struct nio * io, int index);