mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03: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:
@ -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. */
|
||||
|
Reference in New Issue
Block a user