summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2005-02-27 17:16:16 +0000
committerdelphij <delphij@FreeBSD.org>2005-02-27 17:16:16 +0000
commit116d1ffddd7dc79adcdd883aa94fbfe19673bde6 (patch)
tree7f2faa98afcfb40375b4105120e9276899b3e283 /lib
parent31ef43753e9e7f16e3737a7e71286561c1421dd2 (diff)
downloadFreeBSD-src-116d1ffddd7dc79adcdd883aa94fbfe19673bde6.zip
FreeBSD-src-116d1ffddd7dc79adcdd883aa94fbfe19673bde6.tar.gz
Remove the check about whether MALLOC_EXTRA_SANITY is defined,
surrounding the undef'ing it. It does not seem necessary to undef some symbol that is not exist, and gcc does not complain about whether a symbol is exist before #undef'ing it out. Spotted by: mingyanguo via ChinaUnix.net forum Reviewed by: phk
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdlib/malloc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libc/stdlib/malloc.c b/lib/libc/stdlib/malloc.c
index 7b69863..5fbbe08 100644
--- a/lib/libc/stdlib/malloc.c
+++ b/lib/libc/stdlib/malloc.c
@@ -18,9 +18,7 @@ __FBSDID("$FreeBSD$");
* any good unless you fiddle with the internals of malloc or want
* to catch random pointer corruption as early as possible.
*/
-#ifndef MALLOC_EXTRA_SANITY
#undef MALLOC_EXTRA_SANITY
-#endif
/*
* What to use for Junk. This is the byte value we use to fill with
OpenPOWER on IntegriCloud