Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-02-03 20:28:39 +0300
committerDenis Vlasenko <vda.linux@googlemail.com>2007-02-03 20:28:39 +0300
commit06af2165288cd6516b89001ec9e24992619230e0 (patch)
tree840d22e507465aa6eb27c30c7ab8e80d9c469ae0 /util-linux/switch_root.c
parentc7ba8b9d6c926231c1c191136b1ea0bc14b87771 (diff)
suppress warnings about easch <applet>_main() having
no preceding prototype
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)
} else unlink(directory);
}
+int switch_root_main(int argc, char *argv[]);
int switch_root_main(int argc, char *argv[])
{
char *newroot, *console=NULL;