aboutsummaryrefslogtreecommitdiff
path: root/socket/bits/socket2.h
diff options
context:
space:
mode:
Diffstat (limited to 'socket/bits/socket2.h')
-rw-r--r--socket/bits/socket2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket/bits/socket2.h b/socket/bits/socket2.h
index a88c154..2543ea3 100644
--- a/socket/bits/socket2.h
+++ b/socket/bits/socket2.h
@@ -45,7 +45,7 @@ extern ssize_t __REDIRECT (__recvfrom_alias,
socklen_t *__restrict __addr_len), recvfrom);
extern __always_inline ssize_t
-recvfrom (int __fd, void *__buf, size_t __n, int __flags,
+recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags,
__SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len)
{
if (__bos0 (__buf) != (size_t) -1