public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/clang] elf: Remove unused functions from tst-audit25(a, b)
@ 2022-03-29 20:32 Adhemerval Zanella
  0 siblings, 0 replies; only message in thread
From: Adhemerval Zanella @ 2022-03-29 20:32 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=725a830655f60b2e815c2c92c28776ef3c5fc0cb

commit 725a830655f60b2e815c2c92c28776ef3c5fc0cb
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Mar 25 08:53:42 2022 -0300

    elf: Remove unused functions from tst-audit25(a,b)

Diff:
---
 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 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[])
 {


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-29 20:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-29 20:32 [glibc/azanella/clang] elf: Remove unused functions from tst-audit25(a, b) Adhemerval Zanella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).