From d4e1ba696676ad105d0a322934a3eeb2e1cf6ea3 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sun, 7 Jul 2002 07:30:24 +0000 Subject: Fix namespace pollution by hiding statfix and statfix64 by prepending an __ to the name. Not perfect but better. -Erik --- libc/sysdeps/linux/common/syscalls.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libc/sysdeps/linux/common/syscalls.c') 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; } -- cgit v1.2.3