summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/pivot_root.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/pivot_root.c')
-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