about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/sysv4/getpgid.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/sysv4/getpgid.c')
-rw-r--r--sysdeps/unix/sysv/sysv4/getpgid.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/sysv4/getpgid.c b/sysdeps/unix/sysv/sysv4/getpgid.c
index 5ec9e2c1c2..39fb728d1b 100644
--- a/sysdeps/unix/sysv/sysv4/getpgid.c
+++ b/sysdeps/unix/sysv/sysv4/getpgid.c
@@ -19,8 +19,6 @@
 #include <unistd.h>
 #include <sys/types.h>
 
-#undef __getpgid
-
 extern pid_t __pgrpsys __P ((int type, ...));
 
 /* Get the process group ID of process PID.  */
@@ -30,6 +28,5 @@ __getpgid (pid)
 {
   return __pgrpsys (4, pid);
 }
-
-INTDEF(__getpgid)
+libc_hidden_def (__getpgid)
 weak_alias (__getpgid, getpgid)