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, 4 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/getpgid.c b/sysdeps/mach/hurd/getpgid.c
index e387fc4ebc..5402ef417e 100644
--- a/sysdeps/mach/hurd/getpgid.c
+++ b/sysdeps/mach/hurd/getpgid.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 93, 94, 95, 97 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 92, 93, 94, 95, 97, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,6 +21,8 @@
#include <hurd.h>
#include <hurd/port.h>
+#undef __getpgid
+
/* Get the process group ID of process PID. */
int
__getpgid (pid)
@@ -41,4 +43,5 @@ __getpgid (pid)
return err ? __hurd_fail (err) : pgrp;
}
+INTDEF(__getpgid)
weak_alias (__getpgid, getpgid)