summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/getpid.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/getpid.c')
-rw-r--r--libc/sysdeps/linux/common/getpid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/getpid.c b/libc/sysdeps/linux/common/getpid.c
index a966a531e..fd331bd62 100644
--- a/libc/sysdeps/linux/common/getpid.c
+++ b/libc/sysdeps/linux/common/getpid.c
@@ -17,5 +17,5 @@ extern __typeof(getpid) __libc_getpid;
#define __NR___libc_getpid __NR_getpid
_syscall0(pid_t, __libc_getpid);
libc_hidden_proto(getpid)
-strong_alias(__libc_getpid, getpid)
-libc_hidden_def(getpid)
+weak_alias(__libc_getpid, getpid)
+libc_hidden_weak(getpid)