浏览代码

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>
Peter S. Mazinger 13 年之前
父节点
当前提交
7c966f5242
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      libc/sysdeps/linux/common/pivot_root.c

+ 1 - 1
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