summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-06-02 20:56:16 +0000
committerBernhard Reutner-Fischer2006-06-02 20:56:16 +0000
commite15d7573a1263fb364d1678c3a46be47a8b5e5ea (patch)
tree09e7b482b38ac571a01e936fb91df16dd1eeef42 /applets
parentecae66ac16338d8cddb55e1782ebd8c5f670ff53 (diff)
downloadbusybox-e15d7573a1263fb364d1678c3a46be47a8b5e5ea.zip
busybox-e15d7573a1263fb364d1678c3a46be47a8b5e5ea.tar.gz
- move #include busybox.h to the very top so we pull in the config
and eventual platform specific includes in early.
Diffstat (limited to 'applets')
-rw-r--r--applets/applets.c2
-rw-r--r--applets/busybox.c4
-rw-r--r--applets/version.c7
3 files changed, 11 insertions, 2 deletions
diff --git a/applets/applets.c b/applets/applets.c
index 1913676..aea116a 100644
--- a/applets/applets.c
+++ b/applets/applets.c
@@ -12,12 +12,12 @@
* Licensed under GPLv2 or later, see file License in this tarball for details.
*/
+#include "busybox.h"
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
-#include "busybox.h"
#if ENABLE_SHOW_USAGE && !ENABLE_FEATURE_COMPRESS_USAGE
static const char usage_messages[] =
diff --git a/applets/busybox.c b/applets/busybox.c
index 25bb36d..a92ddbd 100644
--- a/applets/busybox.c
+++ b/applets/busybox.c
@@ -1,13 +1,15 @@
/* vi: set sw=4 ts=4: */
/*
+ * BusyBox' main applet dispatcher.
+ *
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
+#include "busybox.h"
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <stdlib.h>
-#include "busybox.h"
#if ENABLE_LOCALE_SUPPORT
#include <locale.h>
#else
diff --git a/applets/version.c b/applets/version.c
index 6f6ec24..ce75f1f 100644
--- a/applets/version.c
+++ b/applets/version.c
@@ -1,3 +1,10 @@
+/* vi: set sw=4 ts=4: */
+/*
+ * Version stuff.
+ *
+ * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
+ */
+
#include "busybox.h"
#ifndef BB_EXTRA_VERSION