commit | 06af2165288cd6516b89001ec9e24992619230e0 | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Sat Feb 03 17:28:39 2007 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Sat Feb 03 17:28:39 2007 +0000 |
tree | 840d22e507465aa6eb27c30c7ab8e80d9c469ae0 | |
parent | c7ba8b9d6c926231c1c191136b1ea0bc14b87771 [diff] [blame] |
suppress warnings about easch <applet>_main() having no preceding prototype
diff --git a/util-linux/switch_root.c b/util-linux/switch_root.c index 007083b..5a01fd6 100644 --- a/util-linux/switch_root.c +++ b/util-linux/switch_root.c
@@ -63,6 +63,7 @@ } else unlink(directory); } +int switch_root_main(int argc, char *argv[]); int switch_root_main(int argc, char *argv[]) { char *newroot, *console=NULL;