about summary refs log tree commit diff
path: root/sysdeps/generic/getpgrp.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-07-27 05:10:43 +0000
committerUlrich Drepper <drepper@redhat.com>1999-07-27 05:10:43 +0000
commit650364fa29479ad5926870f03083854cdcad3810 (patch)
tree363bb2137b3a09b000f98a437963c7a3145d40ba /sysdeps/generic/getpgrp.c
parentb7375f6c40e6428992790d10279c180641f9dc21 (diff)
downloadglibc-650364fa29479ad5926870f03083854cdcad3810.tar.gz
glibc-650364fa29479ad5926870f03083854cdcad3810.tar.xz
glibc-650364fa29479ad5926870f03083854cdcad3810.zip
Update.
	* sysdeps/unix/sysv/sysv4/setsid.c: Correct types.
	* sysdeps/generic/getpgrp.c: Likewise.
	* sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
	* sysdeps/unix/sysv/sysv4/getpgid.c: Likewise.
	Patch by John Tobey <jtobey@banta-im.com>.
Diffstat (limited to 'sysdeps/generic/getpgrp.c')
-rw-r--r--sysdeps/generic/getpgrp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/getpgrp.c b/sysdeps/generic/getpgrp.c
index 805fbfb808..5b3b769cbe 100644
--- a/sysdeps/generic/getpgrp.c
+++ b/sysdeps/generic/getpgrp.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 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
@@ -20,7 +20,7 @@
 #include <unistd.h>
 
 /* Get the process group ID of the calling process.  */
-int
+pid_t
 getpgrp (void)
 {
   return __getpgid (0);