aboutsummaryrefslogtreecommitdiff
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
parent692c2571c8b2b707704661bf1cfd2de3b3ab8cff (diff)
downloadglibc-bc02f1fa2fb302eb8a486794c6b7e4811229b81e.zip
glibc-bc02f1fa2fb302eb8a486794c6b7e4811229b81e.tar.gz
glibc-bc02f1fa2fb302eb8a486794c6b7e4811229b81e.tar.bz2
elf: Remove unused functions from tst-audit25(a,b)
-rw-r--r--elf/tst-audit25a.c8
-rw-r--r--elf/tst-audit25b.c8
2 files changed, 0 insertions, 16 deletions
diff --git a/elf/tst-audit25a.c b/elf/tst-audit25a.c
index 49173e8..c2cff85 100644
--- a/elf/tst-audit25a.c
+++ b/elf/tst-audit25a.c
@@ -49,14 +49,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 ? false : memcmp (pre, str, lenpre) == 0;
-}
-
static int
do_test (int argc, char *argv[])
{
diff --git a/elf/tst-audit25b.c b/elf/tst-audit25b.c
index a56638d..4639177 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[])
{