aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2002-08-22 15:54:22 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2002-08-22 15:54:22 +0000
commit60a22addea1a809878758e7b5cc1b0386ea9990a (patch)
tree71a3a1b6bcf719119d7ce9444a97db0414d229a4
parenta0ee881ba446ceab5f6b3dcb51429091ecd22ff8 (diff)
downloadbusybox-w32-60a22addea1a809878758e7b5cc1b0386ea9990a.tar.gz
busybox-w32-60a22addea1a809878758e7b5cc1b0386ea9990a.tar.bz2
busybox-w32-60a22addea1a809878758e7b5cc1b0386ea9990a.zip
Remove unwanted comments, run through indent
-rw-r--r--include/busybox.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/include/busybox.h b/include/busybox.h
index 2e54ac55e..1b69ef955 100644
--- a/include/busybox.h
+++ b/include/busybox.h
@@ -39,6 +39,7 @@
39 39
40#include <features.h> 40#include <features.h>
41 41
42/* Pull in the utility routines from libbb */
42#include "libbb.h" 43#include "libbb.h"
43 44
44enum Location { 45enum Location {
@@ -56,11 +57,12 @@ enum SUIDRoot {
56}; 57};
57 58
58struct BB_applet { 59struct BB_applet {
59 const char* name; 60 const char *name;
60 int (*main)(int argc, char** argv); 61 int (*main) (int argc, char **argv);
61 enum Location location : 4; 62 enum Location location:4;
62 enum SUIDRoot need_suid : 4; 63 enum SUIDRoot need_suid:4;
63}; 64};
65
64/* From busybox.c */ 66/* From busybox.c */
65extern const struct BB_applet applets[]; 67extern const struct BB_applet applets[];
66 68
@@ -105,16 +107,13 @@ extern const struct BB_applet applets[];
105#define RB_POWER_OFF 0x4321fedc 107#define RB_POWER_OFF 0x4321fedc
106#endif 108#endif
107 109
108
109/* Pull in the utility routines from libbb */
110// #include "libbb.h"
111
112/* Try to pull in PATH_MAX */ 110/* Try to pull in PATH_MAX */
113#include <limits.h> 111#include <limits.h>
112
114/* for PATH_MAX on systems that don't have it in limits.h */ 113/* for PATH_MAX on systems that don't have it in limits.h */
115#include <sys/param.h> 114#include <sys/param.h>
116#ifndef PATH_MAX 115#ifndef PATH_MAX
117#define PATH_MAX 256 116#define PATH_MAX 256
118#endif 117#endif
119 118
120#endif /* _BB_INTERNAL_H_ */ 119#endif /* _BB_INTERNAL_H_ */