From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id B9A933865C2A; Tue, 29 Mar 2022 20:32:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B9A933865C2A Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc/azanella/clang] elf: Remove unused functions from tst-audit25(a, b) X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/azanella/clang X-Git-Oldrev: 9b27f00582267b0d7ca001e49227a557e83089f3 X-Git-Newrev: 725a830655f60b2e815c2c92c28776ef3c5fc0cb Message-Id: <20220329203253.B9A933865C2A@sourceware.org> Date: Tue, 29 Mar 2022 20:32:53 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2022 20:32:53 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=725a830655f60b2e815c2c92c28776ef3c5fc0cb commit 725a830655f60b2e815c2c92c28776ef3c5fc0cb Author: Adhemerval Zanella 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[]) {