aboutsummaryrefslogtreecommitdiff
path: root/util-linux/switch_root.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-02-03 17:28:39 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-02-03 17:28:39 +0000
commit014e12f573abe8f1c77b8206c1ea0becaf2a82f8 (patch)
tree840d22e507465aa6eb27c30c7ab8e80d9c469ae0 /util-linux/switch_root.c
parent41b3db267505b794164fb3ad2501afb2bfbbc117 (diff)
downloadbusybox-w32-014e12f573abe8f1c77b8206c1ea0becaf2a82f8.tar.gz
busybox-w32-014e12f573abe8f1c77b8206c1ea0becaf2a82f8.tar.bz2
busybox-w32-014e12f573abe8f1c77b8206c1ea0becaf2a82f8.zip
suppress warnings about easch <applet>_main() having
no preceding prototype git-svn-id: svn://busybox.net/trunk/busybox@17740 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'util-linux/switch_root.c')
-rw-r--r--util-linux/switch_root.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util-linux/switch_root.c b/util-linux/switch_root.c
index 007083bef..5a01fd6f7 100644
--- a/util-linux/switch_root.c
+++ b/util-linux/switch_root.c
@@ -63,6 +63,7 @@ static void delete_contents(const char *directory)
63 } else unlink(directory); 63 } else unlink(directory);
64} 64}
65 65
66int switch_root_main(int argc, char *argv[]);
66int switch_root_main(int argc, char *argv[]) 67int switch_root_main(int argc, char *argv[])
67{ 68{
68 char *newroot, *console=NULL; 69 char *newroot, *console=NULL;