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