glibc/malloc
Will Newton 439bda3209 malloc: Fix MALLOC_DEBUG -Wundef warning
MALLOC_DEBUG is set optionally on the command line. Default the value
to zero if it is not set on the command line, and test its value
with #if rather than #ifdef. Verified the code is identical before
and after this change apart from line numbers.

ChangeLog:

2014-04-11  Will Newton  <will.newton@linaro.org>

	* malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
	to zero if it is not defined elsewhere.  (mtrim): Test
	the value of MALLOC_DEBUG with #if rather than #ifdef.
2014-04-11 09:54:18 +01:00
..
Depend Update. 1999-10-04 22:59:43 +00:00
Makefile Enumerate tests with special rules in tests-special variable. 2014-03-06 22:35:33 +00:00
Versions Implement aligned_alloc 2012-01-01 07:17:21 -05:00
arena.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
hooks.c Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
malloc.c malloc: Fix MALLOC_DEBUG -Wundef warning 2014-04-11 09:54:18 +01:00
malloc.h Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
mallocbug.c Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
mcheck-init.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
mcheck.c Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
mcheck.h Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
memusage.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
memusage.sh Update remaining copyright dates 2014-01-01 22:02:55 +10:00
memusagestat.c Fix gettext call formatting 2014-01-05 17:39:45 +10:00
morecore.c Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
mtrace.c malloc/mtrace.c: Cosmetic cleanup. 2014-02-11 10:02:57 +00:00
mtrace.pl Update remaining copyright dates 2014-01-01 22:02:55 +10:00
obstack.c Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
obstack.h Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
set-freeres.c Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
thread-freeres.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-calloc.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-malloc-usable.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-malloc.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-mallocfork.c * malloc/tst-mallocfork.c (do_test): Make sure sa_flags is 2005-12-06 00:50:15 +00:00
tst-mallocstate.c Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
tst-mcheck.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-memalign.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-mtrace.c Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
tst-mtrace.sh Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-obstack.c Update. 2000-11-20 17:40:29 +00:00
tst-posix_memalign.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-pvalloc.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-realloc.c Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
tst-trim1.c * malloc/tst-trim1.c: New file. 2007-12-16 22:57:57 +00:00
tst-valloc.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00