summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-07-07 07:27:44 +0000
committerEric Andersen <andersen@codepoet.org>2002-07-07 07:27:44 +0000
commit41fd2375c869daed4c5c90ee3ce902019ef70d57 (patch)
tree8c27de61518b0790928cf9bb944f5899306235b7 /libc/sysdeps/linux/common
parent45f1824dc839fb6401cd6e061924a604438b2bed (diff)
Cleanup namespace leaks by prepending __ to global stuff to
indicate it is (alledgedly) private. -Erik
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/syscalls.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c
index 487df4adb..ce1bffe26 100644
--- a/libc/sysdeps/linux/common/syscalls.c
+++ b/libc/sysdeps/linux/common/syscalls.c
@@ -936,9 +936,10 @@ _syscall2(int, fstatfs, int, fd, struct statfs *, buf);
#endif
//#define __NR_socketcall 102
-#ifdef L_socketcall
+#ifdef L___socketcall
#ifdef __NR_socketcall
-_syscall2(int, socketcall, int, call, unsigned long *, args);
+#define __NR___socketcall __NR_socketcall
+_syscall2(int, __socketcall, int, call, unsigned long *, args);
#endif
#endif