1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03: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

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