diff options
Diffstat (limited to 'sysdeps/unix/sysv/sysv4/getpgid.c')
-rw-r--r-- | sysdeps/unix/sysv/sysv4/getpgid.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/sysv4/getpgid.c b/sysdeps/unix/sysv/sysv4/getpgid.c index 3195e6cddd..d2b27cb060 100644 --- a/sysdeps/unix/sysv/sysv4/getpgid.c +++ b/sysdeps/unix/sysv/sysv4/getpgid.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1995, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1993, 1995, 1997, 1999 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 @@ -16,14 +16,13 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include <errno.h> #include <unistd.h> #include <sys/types.h> -extern int __pgrpsys __P ((int type, ...)); +extern pid_t __pgrpsys __P ((int type, ...)); /* Get the process group ID of process PID. */ -int +pid_t __getpgid (pid) pid_t pid; { |