diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-12-17 18:05:42 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-12-17 18:05:57 +0000 |
commit | 7011c2622fe3e10a29dbe74f06aaebd07710127d (patch) | |
tree | 42987e63dc4500ac40585cba04f0392ea0ca3dc2 /posix/unistd.h | |
parent | 0f197fe5b65c6df1a3a0b6b36383d4babec85bd1 (diff) | |
download | glibc-7011c2622fe3e10a29dbe74f06aaebd07710127d.tar.gz glibc-7011c2622fe3e10a29dbe74f06aaebd07710127d.tar.xz glibc-7011c2622fe3e10a29dbe74f06aaebd07710127d.zip |
Remove __FAVOR_BSD.
Diffstat (limited to 'posix/unistd.h')
-rw-r--r-- | posix/unistd.h | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/posix/unistd.h b/posix/unistd.h index d4eeaf1433..f37dce7b46 100644 --- a/posix/unistd.h +++ b/posix/unistd.h @@ -630,17 +630,8 @@ extern __pid_t getpid (void) __THROW; /* Get the process ID of the calling process's parent. */ extern __pid_t getppid (void) __THROW; -/* Get the process group ID of the calling process. - This function is different on old BSD. */ -#ifndef __FAVOR_BSD +/* Get the process group ID of the calling process. */ extern __pid_t getpgrp (void) __THROW; -#else -# ifdef __REDIRECT_NTH -extern __pid_t __REDIRECT_NTH (getpgrp, (__pid_t __pid), __getpgid); -# else -# define getpgrp __getpgid -# endif -#endif /* Get the process group ID of process PID. */ extern __pid_t __getpgid (__pid_t __pid) __THROW; @@ -662,25 +653,12 @@ extern int setpgid (__pid_t __pid, __pid_t __pgid) __THROW; New programs should always use `setpgid' instead. - The default in GNU is to provide the System V function. The BSD - function is available under -D_BSD_SOURCE. */ - -# ifndef __FAVOR_BSD + GNU provides the POSIX.1 function. */ /* Set the process group ID of the calling process to its own PID. This is exactly the same as `setpgid (0, 0)'. */ extern int setpgrp (void) __THROW; -# else - -/* Another name for `setpgid' (above). */ -# ifdef __REDIRECT_NTH -extern int __REDIRECT_NTH (setpgrp, (__pid_t __pid, __pid_t __pgrp), setpgid); -# else -# define setpgrp setpgid -# endif - -# endif /* Favor BSD. */ #endif /* Use SVID or BSD. */ /* Create a new session with the calling process as its leader. |