summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-04-16 01:46:36 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:38 +0200
commit7c966f52428c61761fb1eda7cbee90cf400666bc (patch)
treee3e09c0b76e140b146bee3c7e601d72cdc8996c2 /libc/sysdeps
parent6b3453a65149c86e7439c7ee17abb4c8018da39b (diff)
pivot_root.c: move prototype into guard
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/common/pivot_root.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/pivot_root.c b/libc/sysdeps/linux/common/pivot_root.c
index 0e738d53f..78f71efa4 100644
--- a/libc/sysdeps/linux/common/pivot_root.c
+++ b/libc/sysdeps/linux/common/pivot_root.c
@@ -9,7 +9,7 @@
#include <sys/syscall.h>
-int pivot_root(const char *new_root, const char *put_old);
#ifdef __NR_pivot_root
+int pivot_root(const char *new_root, const char *put_old);
_syscall2(int, pivot_root, const char *, new_root, const char *, put_old)
#endif