aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/tests/rtdl/rtld_next/libbar.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mlibc/tests/rtdl/rtld_next/libbar.c')
-rw-r--r--lib/mlibc/tests/rtdl/rtld_next/libbar.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/mlibc/tests/rtdl/rtld_next/libbar.c b/lib/mlibc/tests/rtdl/rtld_next/libbar.c
deleted file mode 100644
index c0950c5..0000000
--- a/lib/mlibc/tests/rtdl/rtld_next/libbar.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <dlfcn.h>
-
-typedef char *charFn(void);
-
-__attribute__((weak))
-char *definedInBoth() {
- return "bar";
-}
-
-charFn *barGetDefault() {
- return (charFn *)dlsym(RTLD_DEFAULT, "definedInBoth");
-}
-
-charFn *barGetNext() {
- return (charFn *)dlsym(RTLD_NEXT, "definedInBoth");
-}