summaryrefslogtreecommitdiffstats
path: root/common/dlmalloc.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:02:16 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:02:16 +0200
commit98432d39255c9ff4894bf9917ead3e73a09a6649 (patch)
tree4fd77c84466f1a76ff52e05ed50d51b05cda6099 /common/dlmalloc.c
parentf35190d65b08d967ff4e64d69b48c513071fe811 (diff)
downloadbarebox-98432d39255c9ff4894bf9917ead3e73a09a6649.tar.gz
svn_rev_683
more cleanups, fix compiler warnings
Diffstat (limited to 'common/dlmalloc.c')
-rw-r--r--common/dlmalloc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/dlmalloc.c b/common/dlmalloc.c
index fe3b86d..a22fee5 100644
--- a/common/dlmalloc.c
+++ b/common/dlmalloc.c
@@ -609,11 +609,12 @@ static mbinptr av_[NAV * 2 + 2] = {
/* Other static bookkeeping data */
/* variables holding tunable values */
-
+#ifndef __U_BOOT__
static unsigned long trim_threshold = DEFAULT_TRIM_THRESHOLD;
-static unsigned long top_pad = DEFAULT_TOP_PAD;
static unsigned int n_mmaps_max = DEFAULT_MMAP_MAX;
static unsigned long mmap_threshold = DEFAULT_MMAP_THRESHOLD;
+#endif
+static unsigned long top_pad = DEFAULT_TOP_PAD;
/* The first value returned from sbrk */
static char* sbrk_base = (char*)(-1);