diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-08-14 21:17:30 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-08-14 21:17:30 +0000 |
commit | f2e01e948ca6f59af6c7c6379ae85d8eb878e9b2 (patch) | |
tree | 75f20eadfcd07a82a08bf96359fd9e48f34ecfdf /include | |
parent | 4c30a83cbb022fd23d414473ac2d878e1f5b5d24 (diff) |
Put a bandaid on getpgrp behavior
Diffstat (limited to 'include')
-rw-r--r-- | include/unistd.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/include/unistd.h b/include/unistd.h index d5856d2f3..4364c88c4 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -525,18 +525,15 @@ extern __pid_t getppid __P ((void)); #ifndef __FAVOR_BSD extern __pid_t getpgrp __P ((void)); #else -# ifdef __REDIRECT -extern __pid_t __REDIRECT (getpgrp, __P ((__pid_t __pid)), __getpgid); -# else -# define getpgrp __getpgid -# endif +//# ifdef __REDIRECT +//extern __pid_t __REDIRECT (getpgrp, __P ((__pid_t __pid)), __getpgid); +//# else +# define getpgrp getpgid +//# endif #endif /* Get the process group ID of process PID. */ -extern __pid_t __getpgid __P ((__pid_t __pid)); -#ifdef __USE_XOPEN_EXTENDED extern __pid_t getpgid __P ((__pid_t __pid)); -#endif /* Set the process group ID of the process matching PID to PGID. |