* sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Use __close,
	not close.

	* inet/inet6_option.c (inet6_option_alloc): Add libc_hidden_def.
	* include/netinet/in.h (inet6_option_alloc): Add libc_hidden_proto
	definition.
This commit is contained in:
Ulrich Drepper 2003-06-14 09:00:28 +00:00
parent a459657032
commit 8ba1d42919
7 changed files with 20 additions and 2 deletions

View File

@ -1,5 +1,12 @@
2003-06-14 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Use __close,
not close.
* inet/inet6_option.c (inet6_option_alloc): Add libc_hidden_def.
* include/netinet/in.h (inet6_option_alloc): Add libc_hidden_proto
definition.
* inet/netinet/ip6.h (IP6OPT_PAD1, IP6OPT_PADn): Define.
* inet/netinet/in.h: Add prototypes for inet6_option_* functions.
* inet/Makefile (routines): Add inet6_option.

View File

@ -5,5 +5,6 @@
libc_hidden_proto (bindresvport)
libc_hidden_proto (in6addr_loopback)
libc_hidden_proto (in6addr_any)
libc_hidden_proto (inet6_option_alloc)
#endif

View File

@ -214,6 +214,7 @@ inet6_option_alloc (cmsg, datalen, multx, plusy)
return result;
}
libc_hidden_def (inet6_option_alloc)
/* RFC 2292, 6.3.5

View File

@ -1,3 +1,10 @@
2003-06-14 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/fork.h: Add libc_hidden_proto for
__register_atfork.
* sysdeps/unix/sysv/linux/register-atfork.c (__register_atfork):
Add libc_hidden_def.
2003-06-13 Roland McGrath <roland@redhat.com>
* sysdeps/x86_64/td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Pass FS

View File

@ -54,3 +54,4 @@ extern int __register_atfork (void (*__prepare) (void),
void (*__parent) (void),
void (*__child) (void),
void *dso_handle);
libc_hidden_proto (__register_atfork)

View File

@ -106,6 +106,7 @@ __register_atfork (prepare, parent, child, dso_handle)
return newp == NULL ? ENOMEM : 0;
}
libc_hidden_def (__register_atfork)
libc_freeres_fn (free_mem)

View File

@ -115,7 +115,7 @@ make_request (int fd, pid_t pid, bool *seen_ipv4, bool *seen_ipv6)
}
while (! done);
close (fd);
__close (fd);
return 0;
}
@ -153,7 +153,7 @@ __check_pf (bool *seen_ipv4, bool *seen_ipv6)
return;
if (fd >= 0)
close (fd);
__close (fd);
#if __ASSUME_NETLINK_SUPPORT == 0
/* Remember that there is no netlink support. */