summary refs log tree commit diff
path: root/posix/bsd-getpgrp.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-04-14 08:52:10 +0000
committerUlrich Drepper <drepper@redhat.com>2002-04-14 08:52:10 +0000
commitf9663bd4bb9a62951965e62c5e959f0044ea8596 (patch)
tree3564db3b9c873f1f15018a8f4f49568bc51d50b7 /posix/bsd-getpgrp.c
parentd060e318a7e0f36690c9c88e23edf53708361250 (diff)
downloadglibc-f9663bd4bb9a62951965e62c5e959f0044ea8596.tar.gz
glibc-f9663bd4bb9a62951965e62c5e959f0044ea8596.tar.xz
glibc-f9663bd4bb9a62951965e62c5e959f0044ea8596.zip
Update.
	* posix/bsd-getpgrp.c: Use INTUSE for __getpgid call.
Diffstat (limited to 'posix/bsd-getpgrp.c')
-rw-r--r--posix/bsd-getpgrp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/posix/bsd-getpgrp.c b/posix/bsd-getpgrp.c
index a95d2948e3..ba49008583 100644
--- a/posix/bsd-getpgrp.c
+++ b/posix/bsd-getpgrp.c
@@ -1,5 +1,5 @@
 /* BSD-compatible versions of getpgrp function.
-   Copyright (C) 1991, 92, 94, 95, 96, 97, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1991,92,94,95,96,97,2000,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
@@ -22,10 +22,11 @@
 /* Don't include unistd.h because it declares a conflicting
    prototype for the POSIX.1 `getpgrp' function.  */
 extern pid_t __getpgid (pid_t);
+extern pid_t __getpgid_internal (pid_t);
 extern pid_t __bsd_getpgrp (pid_t);
 
 pid_t
 __bsd_getpgrp (pid_t pid)
 {
-  return __getpgid (pid);
+  return INTUSE(__getpgid) (pid);
 }