diff options
author | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-06-03 19:49:21 +0000 |
---|---|---|
committer | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-06-03 19:49:21 +0000 |
commit | 7bc07ed49e9fa80c72d1fca12a406f7a2044351d (patch) | |
tree | 31f480da01f06ac69514532ce37bbcfde2c43e1b /miscutils/runlevel.c | |
parent | ba086eee66e6ac97b1e5bcfb27acebcf961d9473 (diff) | |
download | busybox-w32-7bc07ed49e9fa80c72d1fca12a406f7a2044351d.tar.gz busybox-w32-7bc07ed49e9fa80c72d1fca12a406f7a2044351d.tar.bz2 busybox-w32-7bc07ed49e9fa80c72d1fca12a406f7a2044351d.zip |
- move #include busybox.h to the very top so we pull in the config
and eventual platform specific includes in early.
git-svn-id: svn://busybox.net/trunk/busybox@15273 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'miscutils/runlevel.c')
-rw-r--r-- | miscutils/runlevel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/runlevel.c b/miscutils/runlevel.c index dfa846f81..a042a7012 100644 --- a/miscutils/runlevel.c +++ b/miscutils/runlevel.c | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* | 2 | /* |
2 | * runlevel Prints out the previous and the current runlevel. | 3 | * runlevel Prints out the previous and the current runlevel. |
3 | * | 4 | * |
@@ -11,13 +12,12 @@ | |||
11 | * initially busyboxified by Bernhard Fischer | 12 | * initially busyboxified by Bernhard Fischer |
12 | */ | 13 | */ |
13 | 14 | ||
15 | #include "busybox.h" | ||
14 | #include <stdio.h> | 16 | #include <stdio.h> |
15 | #include <utmp.h> | 17 | #include <utmp.h> |
16 | #include <time.h> | 18 | #include <time.h> |
17 | #include <stdlib.h> | 19 | #include <stdlib.h> |
18 | 20 | ||
19 | #include "busybox.h" | ||
20 | |||
21 | int runlevel_main(int argc, char *argv[]) | 21 | int runlevel_main(int argc, char *argv[]) |
22 | { | 22 | { |
23 | struct utmp *ut; | 23 | struct utmp *ut; |