summaryrefslogtreecommitdiff
path: root/lib/libc/gen/wait.c
diff options
context:
space:
mode:
authorDaniel Eischen <deischen@FreeBSD.org>2001-01-24 13:01:12 +0000
committerDaniel Eischen <deischen@FreeBSD.org>2001-01-24 13:01:12 +0000
commitd201fe46e355212750b727061e6a7ac005267852 (patch)
treed949d903e602687ee53252807dc4281a27c4f0c4 /lib/libc/gen/wait.c
parente0aa5ab7184d7449e4c2e2e65107898ad23b31f7 (diff)
Notes
Diffstat (limited to 'lib/libc/gen/wait.c')
-rw-r--r--lib/libc/gen/wait.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/gen/wait.c b/lib/libc/gen/wait.c
index 366e2623b44ea..baba6cdf38c6e 100644
--- a/lib/libc/gen/wait.c
+++ b/lib/libc/gen/wait.c
@@ -37,18 +37,18 @@
static char sccsid[] = "@(#)wait.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
+#include "namespace.h"
#include <sys/types.h>
#include <sys/time.h>
#include <sys/wait.h>
#include <sys/resource.h>
+#include "un-namespace.h"
pid_t
-__wait(istat)
- int *istat;
+__wait(int *istat)
{
- return (wait4(WAIT_ANY, istat, 0, (struct rusage *)0));
+ return (_wait4(WAIT_ANY, istat, 0, (struct rusage *)0));
}
-#ifndef _THREAD_SAFE
__weak_reference(__wait, wait);
-#endif
+__weak_reference(__wait, _wait);