]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Sat, 14 Jun 2003 09:00:28 +0000 (09:00 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 14 Jun 2003 09:00:28 +0000 (09:00 +0000)
* 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.

ChangeLog
include/netinet/in.h
inet/inet6_option.c
nptl/ChangeLog
nptl/sysdeps/unix/sysv/linux/fork.h
nptl/sysdeps/unix/sysv/linux/register-atfork.c
sysdeps/unix/sysv/linux/check_pf.c

index a69784a85605d4846e04afdcd55342977ae61758..5978f22e1047024f936c383e892b6afa80549226 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 876f1a4369f7ed6beb8353a275bb100dcd312487..2018ed21c30c817db79bc98b7d154db17a4e86c1 100644 (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
index 9a1e8686b95195f1f1465120b16ca2db354d515e..2e0fed8a30c29d7ebf99a11d0076fcf1e39ca3c8 100644 (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
index 3d335897430a78823f0919d7a7233eedad18f00a..bb17289c49b0b585565132274c43faeba44228f9 100644 (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
index bcdf6217c16b8ce5f0b61fce8e0677e02228da45..d093ccc907cf346852c50819390a1b4510a8c707 100644 (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)
index 3177f5a09c19b2b4d8499528feef30027f10571f..9707e4663c204b2c9f0ba34f8275bd0a7f3b9e0c 100644 (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)
index 0bc57daa512ce4411678008820a11191d9ac1987..83a337c111e5f8030f63fad8aba33614c8519423 100644 (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.  */