From e15d7573a1263fb364d1678c3a46be47a8b5e5ea Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 2 Jun 2006 20:56:16 +0000 Subject: - move #include busybox.h to the very top so we pull in the config and eventual platform specific includes in early. --- init/halt.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'init/halt.c') diff --git a/init/halt.c b/init/halt.c index f3627f206..d1f561b63 100644 --- a/init/halt.c +++ b/init/halt.c @@ -7,10 +7,9 @@ * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. */ +#include "busybox.h" #include #include -#include "busybox.h" - #include int halt_main(int argc, char *argv[]) @@ -40,7 +39,7 @@ RB_AUTOBOOT flags = bb_getopt_ulflags(argc, argv, "d:nf", &delay); if (flags&1) sleep(atoi(delay)); if (!(flags&2)) sync(); - + /* Perform action. */ if (ENABLE_INIT && !(flags & 4)) { if (ENABLE_FEATURE_INITRD) { -- cgit v1.2.3