aboutsummaryrefslogtreecommitdiff
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, 4 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/sysv4/__getpgid.c b/sysdeps/unix/sysv/sysv4/__getpgid.c
index 4ee0e74..9313434 100644
--- a/sysdeps/unix/sysv/sysv4/__getpgid.c
+++ b/sysdeps/unix/sysv/sysv4/__getpgid.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1997, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Brendan Kehoe (brendan@zen.org).
@@ -21,6 +21,8 @@
#include <unistd.h>
#include <sys/types.h>
+#undef __getpgid
+
extern int __pgrpsys __P ((int type, ...));
/* Get the process group ID of process PID. */
@@ -30,3 +32,4 @@ __getpgid (pid)
{
return __pgrpsys (4, pid);
}
+INTDEF(__getpgid)