diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/posix/getaddrinfo.c | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/xstatconv.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c index 3cdb5df1c8..3b86b25122 100644 --- a/sysdeps/posix/getaddrinfo.c +++ b/sysdeps/posix/getaddrinfo.c @@ -1024,6 +1024,8 @@ getaddrinfo (const char *name, const char *service, } libc_hidden_def (getaddrinfo) +static_link_warning (getaddrinfo) + void freeaddrinfo (struct addrinfo *ai) { diff --git a/sysdeps/unix/sysv/linux/xstatconv.c b/sysdeps/unix/sysv/linux/xstatconv.c index 4e4defb489..805e339782 100644 --- a/sysdeps/unix/sysv/linux/xstatconv.c +++ b/sysdeps/unix/sysv/linux/xstatconv.c @@ -31,7 +31,7 @@ struct kernel_stat; #include <string.h> -#ifndef __ASSUME_STAT64_SYSCALL +#if !defined __ASSUME_STAT64_SYSCALL || defined XSTAT_IS_XSTAT64 int __xstat_conv (int vers, struct kernel_stat *kbuf, void *ubuf) { @@ -108,7 +108,7 @@ int __xstat64_conv (int vers, struct kernel_stat *kbuf, void *ubuf) { #ifdef XSTAT_IS_XSTAT64 - return xstat_conv (vers, kbuf, ubuf); + return __xstat_conv (vers, kbuf, ubuf); #else switch (vers) { |