diff options
author | Ulrich Drepper <drepper@gmail.com> | 2012-02-26 13:17:27 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2012-02-26 13:17:27 -0500 |
commit | 4efeffc1d583597e4f52985b9747269e47b754e2 (patch) | |
tree | 65bb598457542a0de30c60646173679c5ea42557 /conform/data/sys/wait.h-data | |
parent | c20105c398036c4fbeb99f8480ab84077a0f6f2c (diff) | |
download | glibc-4efeffc1d583597e4f52985b9747269e47b754e2.tar.gz glibc-4efeffc1d583597e4f52985b9747269e47b754e2.tar.xz glibc-4efeffc1d583597e4f52985b9747269e47b754e2.zip |
Fix up POSIX testing in conformtest
Diffstat (limited to 'conform/data/sys/wait.h-data')
-rw-r--r-- | conform/data/sys/wait.h-data | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/conform/data/sys/wait.h-data b/conform/data/sys/wait.h-data index 56dea06cfd..818766921d 100644 --- a/conform/data/sys/wait.h-data +++ b/conform/data/sys/wait.h-data @@ -1,4 +1,9 @@ #if !defined ISO && !defined ISO99 && !defined ISO11 +#ifdef POSIX +# define pid_t __pid_t +# define uid_t __uid_t +#endif + constant WNOHANG constant WUNTRACED @@ -20,6 +25,7 @@ constant WCONTINUED constant WNOHANG constant WNOWAIT +#if !defined POSIX type idtype_t constant P_ALL @@ -27,6 +33,7 @@ constant P_PID constant P_PGID type id_t +#endif type siginfo_t @@ -40,18 +47,22 @@ element siginfo_t int si_status element siginfo_t long si_band element siginfo_t {union sigval} si_value +#if !defined POSIX type {struct rusage} element {struct rusage} {struct timeval} ru_utime element {struct rusage} {struct timeval} ru_stime +#endif type pid_t function pid_t wait (int*) -#if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008 +#if !defined POSIX && !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008 function pid_t wait3 (int*, int, struct rusage*) #endif +#if !defined POSIX function int waitid (idtype_t, id_t, siginfo_t*, int) +#endif function pid_t waitpid (pid_t, int*, int) allow-header signal.h |