summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAschref Ben Thabet <aschref.ben-thabet@embedded-brains.de>2020-08-11 09:45:53 +0200
committerJoel Sherrill <joel@rtems.org>2020-09-23 08:19:49 -0500
commiteae297d57e314e2350bfb944a26677d9a5f39ae9 (patch)
tree1bcb7e5385fedfa67fbac4f4c4e64adfddef5728
parent2d7210920a94b726c0c7dbf2da4b9eedb2db0d05 (diff)
libtests/dl10: Delete unused functions
-rw-r--r--testsuites/libtests/dl10/dl-load.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/testsuites/libtests/dl10/dl-load.c b/testsuites/libtests/dl10/dl-load.c
index dee1d6e9cc..7a4bae9c17 100644
--- a/testsuites/libtests/dl10/dl-load.c
+++ b/testsuites/libtests/dl10/dl-load.c
@@ -96,28 +96,6 @@ static void* dl_load_obj(const char* name, bool has_unresolved)
return handle;
}
-static void dl_close (void* handle)
-{
- int r;
- printf ("handle: %p closing\n", handle);
- r = dlclose (handle);
- if (r != 0)
- printf("dlclose failed: %s\n", dlerror());
- rtems_test_assert (r == 0);
-}
-
-static int dl_call (void* handle, const char* func)
-{
- call_sig call = dlsym (handle, func);
- if (call == NULL)
- {
- printf("dlsym failed: symbol not found: %s\n", func);
- return 1;
- }
- call ();
- return 0;
-}
-
int dl_load_test(void)
{
void* o1;