]> sourceware.org Git - glibc.git/commitdiff
Sync recvmmsg prototype with kernel usage.
authorOndřej Bílka <neleai@seznam.cz>
Sat, 20 Sep 2014 11:52:57 +0000 (13:52 +0200)
committerOndřej Bílka <neleai@seznam.cz>
Sat, 20 Sep 2014 11:53:44 +0000 (13:53 +0200)
ChangeLog
socket/recvmmsg.c
socket/sys/socket.h
sysdeps/unix/sysv/linux/recvmmsg.c

index 778b3e52d26ad8530c899c584ce03f22fca96053..1b5a2b0a47a8b8e122d68505bd3f390a2cf91b98 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
+
+       * socket/recvmmsg.c (recvmmsg): Drop const argument.
+       * socket/sys/socket.h: Likewise
+       * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
+
 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
 
        * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
index ed0c369486a8146f1c6c97a84a71f806460ca6f8..3daa50126b35251775232152ccce70ccdfd6393a 100644 (file)
@@ -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;
index 95ee26ab11c638c8e2a7efbf0636b5fb87868f55..091b08c7c9d71d7f5f6aa8c6461dbe4d7689a544 100644 (file)
@@ -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
 
 
index 57ddf3152abfca7f3d9abb080688ac7ed1227f37..6c9ca4460d93ddcf15cfdadbdcf7dc4f59bc01e7 100644 (file)
@@ -35,7 +35,7 @@
 #ifdef __NR_recvmmsg
 int
 recvmmsg (int fd, struct mmsghdr *vmessages, unsigned int vlen, int flags,
-         const struct timespec *tmo)
+         struct timespec *tmo)
 {
   if (SINGLE_THREAD_P)
     return INLINE_SYSCALL (recvmmsg, 5, fd, vmessages, vlen, flags, tmo);
@@ -52,14 +52,14 @@ recvmmsg (int fd, struct mmsghdr *vmessages, unsigned int vlen, int flags,
 # ifndef __ASSUME_RECVMMSG_SOCKETCALL
 extern int __internal_recvmmsg (int fd, struct mmsghdr *vmessages,
                                unsigned int vlen, int flags,
-                               const struct timespec *tmo)
+                               struct timespec *tmo)
      attribute_hidden;
 
 static int have_recvmmsg;
 
 int
 recvmmsg (int fd, struct mmsghdr *vmessages, unsigned int vlen, int flags,
-         const struct timespec *tmo)
+         struct timespec *tmo)
 {
   if (__glibc_likely (have_recvmmsg >= 0))
     {
This page took 0.118757 seconds and 5 git commands to generate.