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

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.
@ -37,7 +41,7 @@
* malloc/malloc.c (_int_free): Only do arena boundary check for
contiguous arenas.
2004-09-10 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
2004-09-10 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
* stdlib/longlong.h [__M32R__] (add_ssaaaa, sub_ddmmss): Fix broken
instruct operands.

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. */