summaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/getpgid.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/getpgid.c')
-rw-r--r--sysdeps/mach/hurd/getpgid.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sysdeps/mach/hurd/getpgid.c b/sysdeps/mach/hurd/getpgid.c
index 5402ef417e..167d748e53 100644
--- a/sysdeps/mach/hurd/getpgid.c
+++ b/sysdeps/mach/hurd/getpgid.c
@@ -21,8 +21,6 @@
#include <hurd.h>
#include <hurd/port.h>
-#undef __getpgid
-
/* Get the process group ID of process PID. */
int
__getpgid (pid)
@@ -42,6 +40,5 @@ __getpgid (pid)
return err ? __hurd_fail (err) : pgrp;
}
-
-INTDEF(__getpgid)
+libc_hidden_def (__getpgid)
weak_alias (__getpgid, getpgid)