public inbox for glibc-cvs@sourceware.org help / color / mirror / Atom feed
From: Adhemerval Zanella <azanella@sourceware.org> To: glibc-cvs@sourceware.org Subject: [glibc] elf: Remove unused functions from tst-audit25(a,b) Date: Thu, 31 Mar 2022 12:13:52 +0000 (GMT) [thread overview] Message-ID: <20220331121352.8F25D3857034@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=bc02f1fa2fb302eb8a486794c6b7e4811229b81e commit bc02f1fa2fb302eb8a486794c6b7e4811229b81e 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[]) {
reply other threads:[~2022-03-31 12:13 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220331121352.8F25D3857034@sourceware.org \ --to=azanella@sourceware.org \ --cc=glibc-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).