diff options
-rw-r--r-- | elf/tst-audit25a.c | 8 | ||||
-rw-r--r-- | elf/tst-audit25b.c | 8 |
2 files changed, 0 insertions, 16 deletions
diff --git a/elf/tst-audit25a.c b/elf/tst-audit25a.c index 49173e8625..c2cff8541b 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 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[]) { |