summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/include/namespace.h2
-rw-r--r--lib/libc/include/un-namespace.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/include/namespace.h b/lib/libc/include/namespace.h
index 00c034e..f9f5fd7 100644
--- a/lib/libc/include/namespace.h
+++ b/lib/libc/include/namespace.h
@@ -123,6 +123,7 @@
#define socket _socket
#define socketpair _socketpair
#define wait4 _wait4
+#define waitpid _waitpid
#define write _write
#define writev _writev
@@ -156,7 +157,6 @@
#define system _system
#define tcdrain _tcdrain
#define wait _wait
-#define waitpid _waitpid
#endif
#endif /* _NAMESPACE_H_ */
diff --git a/lib/libc/include/un-namespace.h b/lib/libc/include/un-namespace.h
index 2809e0d..4bf789d 100644
--- a/lib/libc/include/un-namespace.h
+++ b/lib/libc/include/un-namespace.h
@@ -105,6 +105,7 @@
#undef socket
#undef socketpair
#undef wait4
+#undef waitpid
#undef write
#undef writev
@@ -130,7 +131,6 @@
#undef system
#undef tcdrain
#undef wait
-#undef waitpid
#endif /* 0 */
#ifdef _SIGNAL_H_
OpenPOWER on IntegriCloud