From 20e5a5f773ee800b2d7ff3e24156a8b024f6bf46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20B=C3=ADlka?= Date: Sat, 20 Sep 2014 13:52:57 +0200 Subject: Sync recvmmsg prototype with kernel usage. --- socket/recvmmsg.c | 2 +- socket/sys/socket.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'socket') diff --git a/socket/recvmmsg.c b/socket/recvmmsg.c index ed0c369..3daa501 100644 --- a/socket/recvmmsg.c +++ b/socket/recvmmsg.c @@ -23,7 +23,7 @@ Returns the number of bytes read or -1 for errors. */ int recvmmsg (int fd, struct mmsghdr *vmessages, unsigned int vlen, int flags, - const struct timespec *tmo) + struct timespec *tmo) { __set_errno (ENOSYS); return -1; diff --git a/socket/sys/socket.h b/socket/sys/socket.h index 95ee26a..091b08c 100644 --- a/socket/sys/socket.h +++ b/socket/sys/socket.h @@ -209,7 +209,7 @@ extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags); __THROW. */ extern int recvmmsg (int __fd, struct mmsghdr *__vmessages, unsigned int __vlen, int __flags, - const struct timespec *__tmo); + struct timespec *__tmo); #endif -- cgit v1.1