MIPS: do not declare recvmmsg and sendmmsg for !__USE_GNU.

This commit is contained in:
Joseph Myers 2012-02-27 15:54:30 +00:00
parent 7bb9ccad9c
commit bf8becc54b
2 changed files with 7 additions and 0 deletions

View 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):

View 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