From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 3FFFD384BC2B; Thu, 9 Jun 2022 21:20:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3FFFD384BC2B 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] stdlib: Remove ununsed internal aliases for atoi and bsearch X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/azanella/clang X-Git-Oldrev: e771c8025b09465370a56814740469b0d8d993dc X-Git-Newrev: cddba7d7f0d0c42996f12457d936f208a5cb1cc8 Message-Id: <20220609212027.3FFFD384BC2B@sourceware.org> Date: Thu, 9 Jun 2022 21:20:27 +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: Thu, 09 Jun 2022 21:20:27 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=cddba7d7f0d0c42996f12457d936f208a5cb1cc8 commit cddba7d7f0d0c42996f12457d936f208a5cb1cc8 Author: Adhemerval Zanella Date: Mon Mar 14 15:50:59 2022 -0300 stdlib: Remove ununsed internal aliases for atoi and bsearch Diff: --- include/stdlib.h | 3 --- stdlib/atoi.c | 1 - stdlib/bsearch.c | 1 - 3 files changed, 5 deletions(-) diff --git a/include/stdlib.h b/include/stdlib.h index f1f313b15f..6e09834909 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -40,7 +40,6 @@ libc_hidden_proto (abort) libc_hidden_proto (getenv) extern __typeof (secure_getenv) __libc_secure_getenv; libc_hidden_proto (__libc_secure_getenv) -libc_hidden_proto (bsearch) libc_hidden_proto (qsort) extern __typeof (qsort_r) __qsort_r; libc_hidden_proto (__qsort_r) @@ -238,8 +237,6 @@ libc_hidden_proto (__strtoul) extern __typeof (strtoull) __strtoull; libc_hidden_proto (__strtoull) -libc_hidden_proto (atoi) - extern float __strtof_nan (const char *, char **, char); extern double __strtod_nan (const char *, char **, char); extern long double __strtold_nan (const char *, char **, char); diff --git a/stdlib/atoi.c b/stdlib/atoi.c index d7560121b7..61d7863106 100644 --- a/stdlib/atoi.c +++ b/stdlib/atoi.c @@ -26,4 +26,3 @@ atoi (const char *nptr) { return (int) __strtol (nptr, (char **) NULL, 10); } -libc_hidden_def (atoi) diff --git a/stdlib/bsearch.c b/stdlib/bsearch.c index a6d7e8ae1f..ca643cb7f7 100644 --- a/stdlib/bsearch.c +++ b/stdlib/bsearch.c @@ -20,4 +20,3 @@ #undef __extern_inline #define __extern_inline /* Empty, so we get a normal definition. */ #include -libc_hidden_def (bsearch)