From a92060fe161073a41a3b73e8533d65125f84e3a8 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sun, 17 Apr 2011 15:45:46 +0200 Subject: wait4.c: provide hidden __wait4_nocancel independent of any guards Correct wait4 guard (it is only __USE_BSD) wait3, system: use __wait4_nocancel Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- include/sys/wait.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/sys/wait.h') diff --git a/include/sys/wait.h b/include/sys/wait.h index 4beb3e239..b09c28ddf 100644 --- a/include/sys/wait.h +++ b/include/sys/wait.h @@ -171,9 +171,12 @@ extern __pid_t wait3 (__WAIT_STATUS __stat_loc, int __options, /* PID is like waitpid. Other args are like wait3. */ extern __pid_t wait4 (__pid_t __pid, __WAIT_STATUS __stat_loc, int __options, struct rusage *__usage) __THROW; -libc_hidden_proto(wait4) #endif /* Use BSD. */ +#ifdef _LIBC +extern __pid_t __wait4_nocancel(__pid_t, __WAIT_STATUS, int, struct rusage *) attribute_hidden; +#endif + __END_DECLS -- cgit v1.2.3