about summary refs log tree commit diff
path: root/elf/tst-audit25b.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-03-25 08:53:42 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-03-31 09:12:16 -0300
commitbc02f1fa2fb302eb8a486794c6b7e4811229b81e (patch)
tree6fded16b4bc4202d44d833f09b4e96349f61aec2 /elf/tst-audit25b.c
parent692c2571c8b2b707704661bf1cfd2de3b3ab8cff (diff)
downloadglibc-bc02f1fa2fb302eb8a486794c6b7e4811229b81e.tar.gz
glibc-bc02f1fa2fb302eb8a486794c6b7e4811229b81e.tar.xz
glibc-bc02f1fa2fb302eb8a486794c6b7e4811229b81e.zip
elf: Remove unused functions from tst-audit25(a,b)
Diffstat (limited to 'elf/tst-audit25b.c')
-rw-r--r--elf/tst-audit25b.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/elf/tst-audit25b.c b/elf/tst-audit25b.c
index a56638d501..46391770fd 100644
--- a/elf/tst-audit25b.c
+++ b/elf/tst-audit25b.c
@@ -48,14 +48,6 @@ handle_restart (void)
   return 0;
 }
 
-static inline bool
-startswith (const char *str, const char *pre)
-{
-  size_t lenpre = strlen (pre);
-  size_t lenstr = strlen (str);
-  return lenstr >= lenpre && memcmp (pre, str, lenpre) == 0;
-}
-
 static int
 do_test (int argc, char *argv[])
 {