diff options
Diffstat (limited to 'libc/sysdeps')
-rw-r--r-- | libc/sysdeps/linux/common/statfix.c | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/statfix.h | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/statfix64.c | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/statfix64.h | 4 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/syscalls.c | 12 |
5 files changed, 11 insertions, 11 deletions
diff --git a/libc/sysdeps/linux/common/statfix.c b/libc/sysdeps/linux/common/statfix.c index 996cf1346..778f8f8e6 100644 --- a/libc/sysdeps/linux/common/statfix.c +++ b/libc/sysdeps/linux/common/statfix.c @@ -26,7 +26,7 @@ #include "statfix.h" /* Convert from the kernel's version of struct stat to libc's version */ -void statfix(struct libc_stat *libcstat, struct kernel_stat *kstat) +void __statfix(struct libc_stat *libcstat, struct kernel_stat *kstat) { memset(libcstat, 0, sizeof(struct libc_stat)); libcstat->st_dev = kstat->st_dev; diff --git a/libc/sysdeps/linux/common/statfix.h b/libc/sysdeps/linux/common/statfix.h index 3d18dd408..af4e67dad 100644 --- a/libc/sysdeps/linux/common/statfix.h +++ b/libc/sysdeps/linux/common/statfix.h @@ -22,7 +22,7 @@ #undef stat64 #undef stat -extern void statfix(struct libc_stat *libcstat, struct kernel_stat *kstat); +extern void __statfix(struct libc_stat *libcstat, struct kernel_stat *kstat); extern int __fxstat(int version, int fd, struct libc_stat * statbuf); #endif diff --git a/libc/sysdeps/linux/common/statfix64.c b/libc/sysdeps/linux/common/statfix64.c index 540f350ca..5fe80cca7 100644 --- a/libc/sysdeps/linux/common/statfix64.c +++ b/libc/sysdeps/linux/common/statfix64.c @@ -29,7 +29,7 @@ #ifdef __UCLIBC_HAVE_LFS__ /* Convert from the kernel's version of struct stat to libc's version */ -void statfix64(struct libc_stat64 *libcstat, struct kernel_stat64 *kstat) +void __statfix64(struct libc_stat64 *libcstat, struct kernel_stat64 *kstat) { memset(libcstat, 0, sizeof(struct libc_stat64)); libcstat->st_dev = kstat->st_dev; diff --git a/libc/sysdeps/linux/common/statfix64.h b/libc/sysdeps/linux/common/statfix64.h index 4b6d0c670..415829f67 100644 --- a/libc/sysdeps/linux/common/statfix64.h +++ b/libc/sysdeps/linux/common/statfix64.h @@ -45,7 +45,7 @@ #undef stat64 #undef stat -extern void statfix64(struct libc_stat64 *libcstat, struct kernel_stat64 *kstat); +extern void __statfix64(struct libc_stat64 *libcstat, struct kernel_stat64 *kstat); extern int __fxstat64(int version, int fd, struct libc_stat64 * statbuf); #else @@ -72,7 +72,7 @@ extern int __fxstat64(int version, int fd, struct libc_stat64 * statbuf); #undef stat64 #undef stat -extern void statfix64(struct libc_stat64 *libcstat, struct kernel_stat64 *kstat); +extern void __statfix64(struct libc_stat64 *libcstat, struct kernel_stat64 *kstat); extern int __fxstat64(int version, int fd, struct libc_stat64 * statbuf); diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c index ce1bffe26..318bbfbb3 100644 --- a/libc/sysdeps/linux/common/syscalls.c +++ b/libc/sysdeps/linux/common/syscalls.c @@ -985,7 +985,7 @@ int __xstat(int version, const char * file_name, struct libc_stat * cstat) int result = __stat(file_name, &kstat); if (result == 0) { - statfix(cstat, &kstat); + __statfix(cstat, &kstat); } return result; } @@ -1014,7 +1014,7 @@ int __lxstat(int version, const char * file_name, struct libc_stat * cstat) int result = __lstat(file_name, &kstat); if (result == 0) { - statfix(cstat, &kstat); + __statfix(cstat, &kstat); } return result; } @@ -1043,7 +1043,7 @@ int __fxstat(int version, int fd, struct libc_stat * cstat) int result = __fstat(fd, &kstat); if (result == 0) { - statfix(cstat, &kstat); + __statfix(cstat, &kstat); } return result; } @@ -1706,7 +1706,7 @@ int __xstat64(int version, const char * file_name, struct libc_stat64 * cstat) int result = __stat64(file_name, &kstat); if (result == 0) { - statfix64(cstat, &kstat); + __statfix64(cstat, &kstat); } return result; } @@ -1733,7 +1733,7 @@ int __lxstat64(int version, const char * file_name, struct libc_stat64 * cstat) int result = __lstat64(file_name, &kstat); if (result == 0) { - statfix64(cstat, &kstat); + __statfix64(cstat, &kstat); } return result; } @@ -1760,7 +1760,7 @@ int __fxstat64(int version, int fd, struct libc_stat64 * cstat) int result = __fstat64(fd, &kstat); if (result == 0) { - statfix64(cstat, &kstat); + __statfix64(cstat, &kstat); } return result; } |