summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/getuid.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/getuid.c')
-rw-r--r--libc/sysdeps/linux/common/getuid.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/getuid.c b/libc/sysdeps/linux/common/getuid.c
index 7c81ccf48..610c34edc 100644
--- a/libc/sysdeps/linux/common/getuid.c
+++ b/libc/sysdeps/linux/common/getuid.c
@@ -17,8 +17,9 @@
static inline _syscall0(int, __syscall_getuid);
-uid_t attribute_hidden __getuid(void)
+uid_t getuid(void)
{
return (__syscall_getuid());
}
-strong_alias(__getuid,getuid)
+libc_hidden_proto(getuid)
+libc_hidden_def(getuid)