4c1956
commit bc02f1fa2fb302eb8a486794c6b7e4811229b81e
4c1956
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
4c1956
Date:   Fri Mar 25 08:53:42 2022 -0300
4c1956
4c1956
    elf: Remove unused functions from tst-audit25(a,b)
4c1956
4c1956
diff --git a/elf/tst-audit25a.c b/elf/tst-audit25a.c
4c1956
index 49173e862516e876..c2cff8541b3741c3 100644
4c1956
--- a/elf/tst-audit25a.c
4c1956
+++ b/elf/tst-audit25a.c
4c1956
@@ -49,14 +49,6 @@ handle_restart (void)
4c1956
   return 0;
4c1956
 }
4c1956
 
4c1956
-static inline bool
4c1956
-startswith (const char *str, const char *pre)
4c1956
-{
4c1956
-  size_t lenpre = strlen (pre);
4c1956
-  size_t lenstr = strlen (str);
4c1956
-  return lenstr < lenpre ? false : memcmp (pre, str, lenpre) == 0;
4c1956
-}
4c1956
-
4c1956
 static int
4c1956
 do_test (int argc, char *argv[])
4c1956
 {
4c1956
diff --git a/elf/tst-audit25b.c b/elf/tst-audit25b.c
4c1956
index a56638d501f9bff5..46391770fdfc1796 100644
4c1956
--- a/elf/tst-audit25b.c
4c1956
+++ b/elf/tst-audit25b.c
4c1956
@@ -48,14 +48,6 @@ handle_restart (void)
4c1956
   return 0;
4c1956
 }
4c1956
 
4c1956
-static inline bool
4c1956
-startswith (const char *str, const char *pre)
4c1956
-{
4c1956
-  size_t lenpre = strlen (pre);
4c1956
-  size_t lenstr = strlen (str);
4c1956
-  return lenstr >= lenpre && memcmp (pre, str, lenpre) == 0;
4c1956
-}
4c1956
-
4c1956
 static int
4c1956
 do_test (int argc, char *argv[])
4c1956
 {