summaryrefslogtreecommitdiffstats
path: root/test/bitmap.c
diff options
context:
space:
mode:
authorMike Hommey <mh@glandium.org>2012-04-20 06:38:40 (GMT)
committerJason Evans <jasone@canonware.com>2012-04-22 04:31:01 (GMT)
commit834f8770ee780ef439d7ee639caa668a5e23cf76 (patch)
tree5cc8778a25df44fe51ecefa8ad1335e9dee3859b /test/bitmap.c
parent14103d3598e7b828e79a81f2978dc08348677b02 (diff)
downloadjemalloc-834f8770ee780ef439d7ee639caa668a5e23cf76.zip
jemalloc-834f8770ee780ef439d7ee639caa668a5e23cf76.tar.gz
jemalloc-834f8770ee780ef439d7ee639caa668a5e23cf76.tar.bz2
Remove #includes in tests
Since we're now including jemalloc_internal.h, all the required headers are already pulled. This will avoid having to fiddle with headers that can or can't be used with MSVC. Also, now that we use malloc_printf, we can use util.h's definition of assert instead of assert.h's.
Diffstat (limited to 'test/bitmap.c')
-rw-r--r--test/bitmap.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/bitmap.c b/test/bitmap.c
index ee9b1ec..ff50ecb 100644
--- a/test/bitmap.c
+++ b/test/bitmap.c
@@ -1,12 +1,6 @@
#define JEMALLOC_MANGLE
#include "jemalloc_test.h"
-/*
- * Avoid using the assert() from jemalloc_internal.h, since it requires
- * internal libjemalloc functionality.
- * */
-#include <assert.h>
-
#if (LG_BITMAP_MAXBITS > 12)
# define MAXBITS 4500
#else