aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2002-08-22 15:54:22 +0000
committerbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2002-08-22 15:54:22 +0000
commit1a78bc242cfed5fe37e64694eb2127db83d20e71 (patch)
tree71a3a1b6bcf719119d7ce9444a97db0414d229a4
parentdd9641a3f3043f694aab30a665fee762ed012694 (diff)
downloadbusybox-w32-1a78bc242cfed5fe37e64694eb2127db83d20e71.tar.gz
busybox-w32-1a78bc242cfed5fe37e64694eb2127db83d20e71.tar.bz2
busybox-w32-1a78bc242cfed5fe37e64694eb2127db83d20e71.zip
Remove unwanted comments, run through indent
git-svn-id: svn://busybox.net/trunk/busybox@5335 69ca8d6d-28ef-0310-b511-8ec308f3f277
-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_ */