aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libs/dlopen_testlib_simple.cpp
diff options
context:
space:
mode:
authorDmitriy Ivanov <dimitry@google.com>2014-11-04 09:37:19 -0800
committerDmitriy Ivanov <dimitry@google.com>2014-11-04 09:37:19 -0800
commit68a555b57e2bed1292bf28609be693a95b5fdc6b (patch)
treebed20e5b2c72acaa0bbe1f1128cee4ec2f36faed /tests/libs/dlopen_testlib_simple.cpp
parent39af759260454e001b261170a94f85520db4ef12 (diff)
downloadandroid_bionic-68a555b57e2bed1292bf28609be693a95b5fdc6b.tar.gz
android_bionic-68a555b57e2bed1292bf28609be693a95b5fdc6b.tar.bz2
android_bionic-68a555b57e2bed1292bf28609be693a95b5fdc6b.zip
Revert "Revert "Fix dlsym() to take into account RTLD_GLOBAL/LOCAL""
This reverts commit 9d3382d97a2cdc8c8f78c7825ece16f09292fc36.
Diffstat (limited to 'tests/libs/dlopen_testlib_simple.cpp')
-rw-r--r--tests/libs/dlopen_testlib_simple.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libs/dlopen_testlib_simple.cpp b/tests/libs/dlopen_testlib_simple.cpp
index bf750b2a6..32269557a 100644
--- a/tests/libs/dlopen_testlib_simple.cpp
+++ b/tests/libs/dlopen_testlib_simple.cpp
@@ -19,6 +19,6 @@
uint32_t dlopen_testlib_taxicab_number = 1729;
-bool dlopen_testlib_simple_func() {
+extern "C" bool dlopen_testlib_simple_func() {
return true;
}