mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 17:53:37 +08:00
Update.
* 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:
parent
a459657032
commit
8ba1d42919
@ -1,5 +1,12 @@
|
|||||||
2003-06-14 Ulrich Drepper <drepper@redhat.com>
|
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/ip6.h (IP6OPT_PAD1, IP6OPT_PADn): Define.
|
||||||
* inet/netinet/in.h: Add prototypes for inet6_option_* functions.
|
* inet/netinet/in.h: Add prototypes for inet6_option_* functions.
|
||||||
* inet/Makefile (routines): Add inet6_option.
|
* inet/Makefile (routines): Add inet6_option.
|
||||||
|
@ -5,5 +5,6 @@
|
|||||||
libc_hidden_proto (bindresvport)
|
libc_hidden_proto (bindresvport)
|
||||||
libc_hidden_proto (in6addr_loopback)
|
libc_hidden_proto (in6addr_loopback)
|
||||||
libc_hidden_proto (in6addr_any)
|
libc_hidden_proto (in6addr_any)
|
||||||
|
libc_hidden_proto (inet6_option_alloc)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -214,6 +214,7 @@ inet6_option_alloc (cmsg, datalen, multx, plusy)
|
|||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
libc_hidden_def (inet6_option_alloc)
|
||||||
|
|
||||||
|
|
||||||
/* RFC 2292, 6.3.5
|
/* RFC 2292, 6.3.5
|
||||||
|
@ -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>
|
2003-06-13 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
* sysdeps/x86_64/td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Pass FS
|
* sysdeps/x86_64/td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Pass FS
|
||||||
|
@ -54,3 +54,4 @@ extern int __register_atfork (void (*__prepare) (void),
|
|||||||
void (*__parent) (void),
|
void (*__parent) (void),
|
||||||
void (*__child) (void),
|
void (*__child) (void),
|
||||||
void *dso_handle);
|
void *dso_handle);
|
||||||
|
libc_hidden_proto (__register_atfork)
|
||||||
|
@ -106,6 +106,7 @@ __register_atfork (prepare, parent, child, dso_handle)
|
|||||||
|
|
||||||
return newp == NULL ? ENOMEM : 0;
|
return newp == NULL ? ENOMEM : 0;
|
||||||
}
|
}
|
||||||
|
libc_hidden_def (__register_atfork)
|
||||||
|
|
||||||
|
|
||||||
libc_freeres_fn (free_mem)
|
libc_freeres_fn (free_mem)
|
||||||
|
@ -115,7 +115,7 @@ make_request (int fd, pid_t pid, bool *seen_ipv4, bool *seen_ipv6)
|
|||||||
}
|
}
|
||||||
while (! done);
|
while (! done);
|
||||||
|
|
||||||
close (fd);
|
__close (fd);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -153,7 +153,7 @@ __check_pf (bool *seen_ipv4, bool *seen_ipv6)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if (fd >= 0)
|
if (fd >= 0)
|
||||||
close (fd);
|
__close (fd);
|
||||||
|
|
||||||
#if __ASSUME_NETLINK_SUPPORT == 0
|
#if __ASSUME_NETLINK_SUPPORT == 0
|
||||||
/* Remember that there is no netlink support. */
|
/* Remember that there is no netlink support. */
|
||||||
|
Loading…
Reference in New Issue
Block a user