about summary refs log tree commit diff
path: root/socket/recvmmsg.c
diff options
context:
space:
mode:
authorOndřej Bílka <neleai@seznam.cz>2014-09-20 13:52:57 +0200
committerOndřej Bílka <neleai@seznam.cz>2014-09-20 13:53:44 +0200
commit20e5a5f773ee800b2d7ff3e24156a8b024f6bf46 (patch)
treecef168fc79d38d68c14c971d59c633ffbbf4f95d /socket/recvmmsg.c
parentd3c827e7c8208afeaed880cf8cf2515c86d10f17 (diff)
downloadglibc-20e5a5f773ee800b2d7ff3e24156a8b024f6bf46.tar.gz
glibc-20e5a5f773ee800b2d7ff3e24156a8b024f6bf46.tar.xz
glibc-20e5a5f773ee800b2d7ff3e24156a8b024f6bf46.zip
Sync recvmmsg prototype with kernel usage.
Diffstat (limited to 'socket/recvmmsg.c')
-rw-r--r--socket/recvmmsg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket/recvmmsg.c b/socket/recvmmsg.c
index ed0c369486..3daa50126b 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;