summaryrefslogtreecommitdiff
path: root/src/network/getsockopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/getsockopt.c')
-rw-r--r--src/network/getsockopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/getsockopt.c b/src/network/getsockopt.c
index a9e0a72d..28079d8c 100644
--- a/src/network/getsockopt.c
+++ b/src/network/getsockopt.c
@@ -1,7 +1,7 @@
#include <sys/socket.h>
#include "syscall.h"
-int getsockopt(int fd, int level, int optname, void *optval, socklen_t *optlen)
+int getsockopt(int fd, int level, int optname, void *restrict optval, socklen_t *restrict optlen)
{
return socketcall(getsockopt, fd, level, optname, optval, optlen, 0);
}