From 06af2165288cd6516b89001ec9e24992619230e0 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 3 Feb 2007 17:28:39 +0000 Subject: suppress warnings about easch _main() having no preceding prototype --- util-linux/switch_root.c | 1 + 1 file changed, 1 insertion(+) (limited to 'util-linux/switch_root.c') 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; -- cgit v1.2.3