diff --git a/src/test/func/jemalloc/jemalloc.cc b/src/test/func/jemalloc/jemalloc.cc index ee51421cb..bd3614edb 100644 --- a/src/test/func/jemalloc/jemalloc.cc +++ b/src/test/func/jemalloc/jemalloc.cc @@ -302,20 +302,6 @@ namespace } } -extern "C" -{ - /** - * The jemalloc 3.x experimental APIs are gone from the headers in newer - * versions, but are still present in FreeBSD libc, so declare them here - * for testing. - */ - int allocm(void**, size_t*, size_t, int); - int rallocm(void**, size_t*, size_t, size_t, int); - int sallocm(const void*, size_t*, int); - int dallocm(void*, int); - int nallocm(size_t*, size_t, int); -} - int main() { check_lg_align_macro<63>(); @@ -363,6 +349,5 @@ int main() test_size(); test_zeroing(); test_xallocx(); - test_legacy_experimental_apis(); #endif }