aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Goldblatt <davidgoldblatt@fb.com>2017-04-11 13:31:16 -0700
committerDavid Goldblatt <davidtgoldblatt@gmail.com>2017-04-18 18:35:03 -0700
commitf692e6c214ec3fb5cb64e4131470793c6494afbd (patch)
tree2d574e35c6e7c3c87409566b04d812e979ff4b48 /test
parent54373be0840881cb1123a190013dd11c34ab62f1 (diff)
downloadplatform_external_jemalloc_new-f692e6c214ec3fb5cb64e4131470793c6494afbd.tar.gz
platform_external_jemalloc_new-f692e6c214ec3fb5cb64e4131470793c6494afbd.tar.bz2
platform_external_jemalloc_new-f692e6c214ec3fb5cb64e4131470793c6494afbd.zip
Header refactoring: move util.h out of the catchall
Diffstat (limited to 'test')
-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 cfa8d0f2..f9390e41 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 4241063e..b8c6a255 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 81778b04..acb26b06 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,