summaryrefslogtreecommitdiff
path: root/include/sys
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-04-17 15:45:46 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:40 +0200
commita92060fe161073a41a3b73e8533d65125f84e3a8 (patch)
tree62a3110fc3c5e256b59f1b19ab8803326400f5ce /include/sys
parent0a043c30ee71245dfe7c9d82d654312c5e1f6127 (diff)
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 <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/wait.h5
1 files changed, 4 insertions, 1 deletions
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