Remove linker-namespace functions from the header
They are intended for platform use only and we shouldn't have them
in the public header file.
Bug: http://b/28174921
Change-Id: Ib9b3d0fa9442cfa2e784a693ad567d1444d774e5
diff --git a/tests/dlext_test.cpp b/tests/dlext_test.cpp
index 420c934..109bab5 100644
--- a/tests/dlext_test.cpp
+++ b/tests/dlext_test.cpp
@@ -34,6 +34,7 @@
#include "TemporaryFile.h"
#include "utils.h"
+#include "dlext_private.h"
#define ASSERT_DL_NOTNULL(ptr) \
ASSERT_TRUE(ptr != nullptr) << "dlerror: " << dlerror()
@@ -743,8 +744,6 @@
dlclose(handle2);
}
-extern "C" void android_set_application_target_sdk_version(uint32_t target);
-
TEST(dlext, ns_isolated) {
static const char* root_lib = "libnstest_root_not_isolated.so";
std::string path = std::string("libc.so:libc++.so:libdl.so:libm.so:") + g_public_lib;