aboutsummaryrefslogtreecommitdiff
path: root/tests/hugetests.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hugetests.h')
-rw-r--r--tests/hugetests.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/hugetests.h b/tests/hugetests.h
index a5a54d6..cdcb41b 100644
--- a/tests/hugetests.h
+++ b/tests/hugetests.h
@@ -48,6 +48,7 @@ int test_addr_huge(void *p);
unsigned long long get_mapping_page_size(void *p);
long read_meminfo(const char *tag);
ino_t get_addr_inode(void *p);
+int consume_heap(long max);
#define ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1))
#define PALIGN(p, a) ((void *)ALIGN((unsigned long)(p), (a)))