]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
MIPS: do not declare recvmmsg and sendmmsg for !__USE_GNU.
authorJoseph Myers <joseph@codesourcery.com>
Mon, 27 Feb 2012 15:54:30 +0000 (15:54 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 27 Feb 2012 15:54:30 +0000 (15:54 +0000)
ChangeLog.mips
sysdeps/unix/sysv/linux/mips/bits/socket.h

index 3198ace74345e485d7b1172d6517e639b4b518a8..730e42683d80c487a16330246792fc5a1fdedd59 100644 (file)
@@ -1,3 +1,8 @@
+2012-02-27  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/unix/sysv/linux/mips/bits/socket.h [!__USE_GNU]: Do not
+       declare recvmmsg and sendmmsg.
+
 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (pthread_attr_t):
index cfd7dd778c76f7f5a09530cb837a6bc9d7e7b9f9..eac3bcd9eda013caab4267ee0a530315531e6534 100644 (file)
@@ -417,6 +417,7 @@ struct linger
 
 __BEGIN_DECLS
 
+#ifdef __USE_GNU
 /* Receive up to VLEN messages as described by VMESSAGES from socket FD.
    Returns the number of bytes read or -1 for errors.
 
@@ -432,6 +433,7 @@ This function is a cancellation point and therefore not marked with
    __THROW.  */
 extern int sendmmsg (int __fd, struct mmsghdr *__vmessages,
                     unsigned int __vlen, int __flags);
+#endif
 
 __END_DECLS