From c885bf5cf94a12202f849477a845d728cbd12889 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 3 Dec 2005 00:34:49 +0000 Subject: More hiding, including __mempcpy --- libc/sysdeps/linux/common/getpid.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'libc/sysdeps/linux/common/getpid.c') diff --git a/libc/sysdeps/linux/common/getpid.c b/libc/sysdeps/linux/common/getpid.c index a4e07d97c..6a6a9e129 100644 --- a/libc/sysdeps/linux/common/getpid.c +++ b/libc/sysdeps/linux/common/getpid.c @@ -11,9 +11,10 @@ #include #if defined (__alpha__) -#define __NR_getpid __NR_getxpid +#define __NR___getpid __NR_getxpid #endif -#define __NR___libc_getpid __NR_getpid -_syscall0(pid_t, __libc_getpid); -weak_alias(__libc_getpid, getpid); -weak_alias(__libc_getpid, __getpid); +#define __NR___getpid __NR_getpid +attribute_hidden _syscall0(pid_t, __getpid); +strong_alias(__getpid, getpid) +/* not used in libpthread */ +/* weak_alias(__getpid, __libc_getpid) */ -- cgit v1.2.3