aboutsummaryrefslogtreecommitdiff
path: root/miscutils/runlevel.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-06-03 19:49:21 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-06-03 19:49:21 +0000
commitc89982dcd78b3076cf131dae3ec4ca4b83f1b4da (patch)
tree31f480da01f06ac69514532ce37bbcfde2c43e1b /miscutils/runlevel.c
parentdeda6a5c0d00d02813cfda0d6262a24462909e9f (diff)
downloadbusybox-w32-c89982dcd78b3076cf131dae3ec4ca4b83f1b4da.tar.gz
busybox-w32-c89982dcd78b3076cf131dae3ec4ca4b83f1b4da.tar.bz2
busybox-w32-c89982dcd78b3076cf131dae3ec4ca4b83f1b4da.zip
- move #include busybox.h to the very top so we pull in the config
and eventual platform specific includes in early.
Diffstat (limited to 'miscutils/runlevel.c')
-rw-r--r--miscutils/runlevel.c4
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
21int runlevel_main(int argc, char *argv[]) 21int runlevel_main(int argc, char *argv[])
22{ 22{
23 struct utmp *ut; 23 struct utmp *ut;