summary refs log tree commit diff
path: root/sysdeps/generic/getpgid.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/getpgid.c')
-rw-r--r--sysdeps/generic/getpgid.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysdeps/generic/getpgid.c b/sysdeps/generic/getpgid.c
index ed49b7d663..ad46771d2f 100644
--- a/sysdeps/generic/getpgid.c
+++ b/sysdeps/generic/getpgid.c
@@ -19,8 +19,6 @@
 #include <unistd.h>
 #include <sys/types.h>
 
-#undef __getpgid
-
 /* Get the process group ID of process PID.  */
 pid_t
 __getpgid (pid)
@@ -28,7 +26,7 @@ __getpgid (pid)
 {
   return pid;
 }
-INTDEF(__getpgid)
+libc_hidden_def (__getpgid)
 weak_alias (__getpgid, getpgid)
 
 stub_warning (getpgid)