From bc02f1fa2fb302eb8a486794c6b7e4811229b81e Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Fri, 25 Mar 2022 08:53:42 -0300 Subject: elf: Remove unused functions from tst-audit25(a,b) --- elf/tst-audit25a.c | 8 -------- elf/tst-audit25b.c | 8 -------- 2 files changed, 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[]) { -- cgit v1.1