OSDN Git Service

pivot_root.c: move prototype into guard
authorPeter S. Mazinger <ps.m@gmx.net>
Fri, 15 Apr 2011 23:46:36 +0000 (01:46 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 15 Jun 2012 12:00:38 +0000 (14:00 +0200)
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libc/sysdeps/linux/common/pivot_root.c

index 0e738d5..78f71ef 100644 (file)
@@ -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