From: Joseph Myers Date: Mon, 27 Feb 2012 15:54:30 +0000 (+0000) Subject: MIPS: do not declare recvmmsg and sendmmsg for !__USE_GNU. X-Git-Tag: glibc-2.16-ports-before-merge~234 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bf8becc54bb3a666872148110d8e2d33388d4c40;p=thirdparty%2Fglibc.git MIPS: do not declare recvmmsg and sendmmsg for !__USE_GNU. --- diff --git a/ChangeLog.mips b/ChangeLog.mips index 3198ace7434..730e42683d8 100644 --- a/ChangeLog.mips +++ b/ChangeLog.mips @@ -1,3 +1,8 @@ +2012-02-27 Joseph Myers + + * sysdeps/unix/sysv/linux/mips/bits/socket.h [!__USE_GNU]: Do not + declare recvmmsg and sendmmsg. + 2012-02-27 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (pthread_attr_t): diff --git a/sysdeps/unix/sysv/linux/mips/bits/socket.h b/sysdeps/unix/sysv/linux/mips/bits/socket.h index cfd7dd778c7..eac3bcd9eda 100644 --- a/sysdeps/unix/sysv/linux/mips/bits/socket.h +++ b/sysdeps/unix/sysv/linux/mips/bits/socket.h @@ -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