1
0
Fork 0
mirror of git://sourceware.org/git/glibc.git synced 2025-03-06 20:58:33 +01:00
2004-09-11  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/bsd/bsd4.4/bits/socket.h: Use __NTH for __cmsg_nxthdr.

2004-09-10  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
This commit is contained in:
Ulrich Drepper 2004-09-11 16:28:48 +00:00
parent 3418007ed6
commit 5a617b9e75
3 changed files with 9 additions and 3 deletions
.cvsignoreChangeLog
sysdeps/unix/bsd/bsd4.4/bits

View file

@ -25,3 +25,5 @@ libc.proj .snprj
TODO.html
autom4te*.cache
rtkaio

View file

@ -1,3 +1,7 @@
2004-09-11 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/bsd/bsd4.4/bits/socket.h: Use __NTH for __cmsg_nxthdr.
2004-09-10 Ulrich Drepper <drepper@redhat.com>
* nscd/nscd.c (pagesize_m1): New variable.

View file

@ -1,5 +1,5 @@
/* System-specific socket constants and types. 4.4 BSD version.
Copyright (C) 1991,92,1994-1999,2000,01,02 Free Software Foundation, Inc.
Copyright (C) 1991,92,1994-2002,2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -230,7 +230,7 @@ extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr,
# define _EXTERN_INLINE extern __inline
# endif
_EXTERN_INLINE struct cmsghdr *
__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) __THROW
__NTH (__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg))
{
if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr))
/* The kernel header does this so there may be a reason. */