summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/setpgid.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/setpgid.c')
-rw-r--r--libc/sysdeps/linux/common/setpgid.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/setpgid.c b/libc/sysdeps/linux/common/setpgid.c
index 6d73f08ec..0453fbdfb 100644
--- a/libc/sysdeps/linux/common/setpgid.c
+++ b/libc/sysdeps/linux/common/setpgid.c
@@ -14,8 +14,9 @@
static inline _syscall2(int, __syscall_setpgid,
__kernel_pid_t, pid, __kernel_pid_t, pgid);
-int attribute_hidden __setpgid(pid_t pid, pid_t pgid)
+int setpgid(pid_t pid, pid_t pgid)
{
return (__syscall_setpgid(pid, pgid));
}
-strong_alias(__setpgid,setpgid)
+libc_hidden_proto(setpgid)
+libc_hidden_def(setpgid)