summaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorDavid Goldblatt <davidgoldblatt@fb.com>2017-04-11 20:31:16 (GMT)
committerDavid Goldblatt <davidtgoldblatt@gmail.com>2017-04-19 01:35:03 (GMT)
commitf692e6c214ec3fb5cb64e4131470793c6494afbd (patch)
tree2d574e35c6e7c3c87409566b04d812e979ff4b48 /test/unit
parent54373be0840881cb1123a190013dd11c34ab62f1 (diff)
downloadjemalloc-f692e6c214ec3fb5cb64e4131470793c6494afbd.zip
jemalloc-f692e6c214ec3fb5cb64e4131470793c6494afbd.tar.gz
jemalloc-f692e6c214ec3fb5cb64e4131470793c6494afbd.tar.bz2
Header refactoring: move util.h out of the catchall
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/junk.c2
-rw-r--r--test/unit/mallctl.c2
-rw-r--r--test/unit/stats_print.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/test/unit/junk.c b/test/unit/junk.c
index cfa8d0f..f9390e4 100644
--- a/test/unit/junk.c
+++ b/test/unit/junk.c
@@ -1,5 +1,7 @@
#include "test/jemalloc_test.h"
+#include "jemalloc/internal/util.h"
+
static arena_dalloc_junk_small_t *arena_dalloc_junk_small_orig;
static large_dalloc_junk_t *large_dalloc_junk_orig;
static large_dalloc_maybe_junk_t *large_dalloc_maybe_junk_orig;
diff --git a/test/unit/mallctl.c b/test/unit/mallctl.c
index 4241063..b8c6a25 100644
--- a/test/unit/mallctl.c
+++ b/test/unit/mallctl.c
@@ -1,5 +1,7 @@
#include "test/jemalloc_test.h"
+#include "jemalloc/internal/util.h"
+
TEST_BEGIN(test_mallctl_errors) {
uint64_t epoch;
size_t sz;
diff --git a/test/unit/stats_print.c b/test/unit/stats_print.c
index 81778b0..acb26b0 100644
--- a/test/unit/stats_print.c
+++ b/test/unit/stats_print.c
@@ -1,5 +1,7 @@
#include "test/jemalloc_test.h"
+#include "jemalloc/internal/util.h"
+
typedef enum {
TOKEN_TYPE_NONE,
TOKEN_TYPE_ERROR,