summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-06-14 09:00:28 +0000
committerUlrich Drepper <drepper@redhat.com>2003-06-14 09:00:28 +0000
commit8ba1d42919f932a96d6db7889694d93dffd997c1 (patch)
tree6fb785a9e7795cc283652d55fc98455b2127d3c5 /sysdeps
parenta4596570324480a8af6a9a277dadb1c2ff7be3f9 (diff)
downloadglibc-8ba1d42919f932a96d6db7889694d93dffd997c1.tar.gz
glibc-8ba1d42919f932a96d6db7889694d93dffd997c1.tar.xz
glibc-8ba1d42919f932a96d6db7889694d93dffd997c1.zip
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.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/check_pf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/check_pf.c b/sysdeps/unix/sysv/linux/check_pf.c
index 0bc57daa51..83a337c111 100644
--- a/sysdeps/unix/sysv/linux/check_pf.c
+++ b/sysdeps/unix/sysv/linux/check_pf.c
@@ -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.  */