diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-10-24 05:00:29 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-10-24 05:00:29 +0000 |
commit | 1e2799601614452a40df7862e6ca180ecb08c04d (patch) | |
tree | 153a573095afac8d8d0ea857759ecabd77fb28b7 /include/busybox.h | |
parent | 47f91d1f7fc06cf27e2a6c3c2ada99226ba50cb9 (diff) | |
download | busybox-w32-1e2799601614452a40df7862e6ca180ecb08c04d.tar.gz busybox-w32-1e2799601614452a40df7862e6ca180ecb08c04d.tar.bz2 busybox-w32-1e2799601614452a40df7862e6ca180ecb08c04d.zip |
Major rework of the directory structure and the entire build system.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@3561 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include/busybox.h')
-rw-r--r-- | include/busybox.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/include/busybox.h b/include/busybox.h index f79dac8c8..87cebc3d1 100644 --- a/include/busybox.h +++ b/include/busybox.h | |||
@@ -24,7 +24,7 @@ | |||
24 | #ifndef _BB_INTERNAL_H_ | 24 | #ifndef _BB_INTERNAL_H_ |
25 | #define _BB_INTERNAL_H_ 1 | 25 | #define _BB_INTERNAL_H_ 1 |
26 | 26 | ||
27 | #include "Config.h" | 27 | #include "config.h" |
28 | 28 | ||
29 | #include <stdio.h> | 29 | #include <stdio.h> |
30 | #include <stdarg.h> | 30 | #include <stdarg.h> |
@@ -34,7 +34,7 @@ | |||
34 | #define BB_BANNER "BusyBox v" BB_VER " (" BB_BT ")" | 34 | #define BB_BANNER "BusyBox v" BB_VER " (" BB_BT ")" |
35 | 35 | ||
36 | #ifdef DMALLOC | 36 | #ifdef DMALLOC |
37 | #include "dmalloc.h" | 37 | #include <dmalloc.h> |
38 | #endif | 38 | #endif |
39 | 39 | ||
40 | #include <features.h> | 40 | #include <features.h> |
@@ -66,19 +66,19 @@ extern const struct BB_applet applets[]; | |||
66 | #include "applets.h" | 66 | #include "applets.h" |
67 | #undef PROTOTYPES | 67 | #undef PROTOTYPES |
68 | 68 | ||
69 | #ifdef BB_FEATURE_BUFFERS_GO_ON_STACK | 69 | #ifdef CONFIG_FEATURE_BUFFERS_GO_ON_STACK |
70 | #define RESERVE_BB_BUFFER(buffer,len) char buffer[len] | 70 | #define RESERVE_CONFIG_BUFFER(buffer,len) char buffer[len] |
71 | #define RESERVE_BB_UBUFFER(buffer,len) unsigned char buffer[len] | 71 | #define RESERVE_CONFIG_UBUFFER(buffer,len) unsigned char buffer[len] |
72 | #define RELEASE_BB_BUFFER(buffer) ((void)0) | 72 | #define RELEASE_CONFIG_BUFFER(buffer) ((void)0) |
73 | #else | 73 | #else |
74 | #ifdef BB_FEATURE_BUFFERS_GO_IN_BSS | 74 | #ifdef CONFIG_FEATURE_BUFFERS_GO_IN_BSS |
75 | #define RESERVE_BB_BUFFER(buffer,len) static char buffer[len] | 75 | #define RESERVE_CONFIG_BUFFER(buffer,len) static char buffer[len] |
76 | #define RESERVE_BB_UBUFFER(buffer,len) static unsigned char buffer[len] | 76 | #define RESERVE_CONFIG_UBUFFER(buffer,len) static unsigned char buffer[len] |
77 | #define RELEASE_BB_BUFFER(buffer) ((void)0) | 77 | #define RELEASE_CONFIG_BUFFER(buffer) ((void)0) |
78 | #else | 78 | #else |
79 | #define RESERVE_BB_BUFFER(buffer,len) char *buffer=xmalloc(len) | 79 | #define RESERVE_CONFIG_BUFFER(buffer,len) char *buffer=xmalloc(len) |
80 | #define RESERVE_BB_UBUFFER(buffer,len) unsigned char *buffer=xmalloc(len) | 80 | #define RESERVE_CONFIG_UBUFFER(buffer,len) unsigned char *buffer=xmalloc(len) |
81 | #define RELEASE_BB_BUFFER(buffer) free (buffer) | 81 | #define RELEASE_CONFIG_BUFFER(buffer) free (buffer) |
82 | #endif | 82 | #endif |
83 | #endif | 83 | #endif |
84 | 84 | ||
@@ -99,7 +99,7 @@ extern const struct BB_applet applets[]; | |||
99 | 99 | ||
100 | 100 | ||
101 | /* Pull in the utility routines from libbb */ | 101 | /* Pull in the utility routines from libbb */ |
102 | #include "libbb/libbb.h" | 102 | #include "libbb.h" |
103 | 103 | ||
104 | 104 | ||
105 | 105 | ||