[rtems commit] libtests/dl10: Delete unused functions

Sebastian Huber sebh at rtems.org
Tue Aug 11 07:49:18 UTC 2020


Module:    rtems
Branch:    master
Commit:    5d7ab6bd21c101efa1c4623af3509bcf66fc23af
Changeset: http://git.rtems.org/rtems/commit/?id=5d7ab6bd21c101efa1c4623af3509bcf66fc23af

Author:    Aschref Ben Thabet <aschref.ben-thabet at embedded-brains.de>
Date:      Tue Aug 11 09:45:53 2020 +0200

libtests/dl10: Delete unused functions

---

 testsuites/libtests/dl10/dl-load.c | 22 ----------------------
 1 file changed, 22 deletions(-)

diff --git a/testsuites/libtests/dl10/dl-load.c b/testsuites/libtests/dl10/dl-load.c
index dee1d6e..7a4bae9 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;



More information about the vc mailing list