summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/getpgid.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/getpgid.c')
-rw-r--r--libc/sysdeps/linux/common/getpgid.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/getpgid.c b/libc/sysdeps/linux/common/getpgid.c
index 8de8516dc..adb8beb06 100644
--- a/libc/sysdeps/linux/common/getpgid.c
+++ b/libc/sysdeps/linux/common/getpgid.c
@@ -12,8 +12,7 @@
#define __NR___syscall_getpgid __NR_getpgid
static inline _syscall1(__kernel_pid_t, __syscall_getpgid, __kernel_pid_t, pid);
-pid_t __getpgid(pid_t pid)
+pid_t getpgid(pid_t pid)
{
return (__syscall_getpgid(pid));
}
-weak_alias(__getpgid, getpgid)