aboutsummaryrefslogtreecommitdiff
path: root/include/busybox.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-10-24 05:00:29 +0000
committerEric Andersen <andersen@codepoet.org>2001-10-24 05:00:29 +0000
commitbdfd0d78bc44e73d693510e70087857785b3b521 (patch)
tree153a573095afac8d8d0ea857759ecabd77fb28b7 /include/busybox.h
parent9260fc5552a3ee52eb95823aa6689d52a1ffd33c (diff)
downloadbusybox-w32-bdfd0d78bc44e73d693510e70087857785b3b521.tar.gz
busybox-w32-bdfd0d78bc44e73d693510e70087857785b3b521.tar.bz2
busybox-w32-bdfd0d78bc44e73d693510e70087857785b3b521.zip
Major rework of the directory structure and the entire build system.
-Erik
Diffstat (limited to 'include/busybox.h')
-rw-r--r--include/busybox.h28
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