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/azanella/clang] stdlib: Remove ununsed internal aliases for atoi and bsearch Date: Thu, 12 May 2022 19:33:56 +0000 (GMT) [thread overview] Message-ID: <20220512193356.AEEC53886C74@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b35f897b139bf48e2a2c2cf7921d886ebbba63d7 commit b35f897b139bf48e2a2c2cf7921d886ebbba63d7 Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> 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 <bits/stdlib-bsearch.h> -libc_hidden_def (bsearch)
next reply other threads:[~2022-05-12 19:33 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-05-12 19:33 Adhemerval Zanella [this message] -- strict thread matches above, loose matches on Subject: below -- 2022-06-09 21:20 Adhemerval Zanella 2022-06-09 13:17 Adhemerval Zanella 2022-06-03 14:06 Adhemerval Zanella 2022-05-13 14:20 Adhemerval Zanella 2022-05-10 18:24 Adhemerval Zanella 2022-04-29 14:04 Adhemerval Zanella 2022-04-04 12:54 Adhemerval Zanella 2022-03-31 19:07 Adhemerval Zanella 2022-03-29 20:30 Adhemerval Zanella 2022-03-16 18:04 Adhemerval Zanella 2022-03-15 18:41 Adhemerval Zanella
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=20220512193356.AEEC53886C74@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).