summaryrefslogtreecommitdiff
path: root/src/network/getpeername.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/getpeername.c')
-rw-r--r--src/network/getpeername.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/getpeername.c b/src/network/getpeername.c
index 22effdae..6567b451 100644
--- a/src/network/getpeername.c
+++ b/src/network/getpeername.c
@@ -1,7 +1,7 @@
#include <sys/socket.h>
#include "syscall.h"
-int getpeername(int fd, struct sockaddr *addr, socklen_t *len)
+int getpeername(int fd, struct sockaddr *restrict addr, socklen_t *restrict len)
{
return socketcall(getpeername, fd, addr, len, 0, 0, 0);
}