From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id EB8D6395C063; Fri, 13 May 2022 14:17:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EB8D6395C063 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] Remove libc_hidden_proto (confstr) X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/azanella/clang X-Git-Oldrev: 423ea0dc688b428f63bf9c4f994d63e701192ae4 X-Git-Newrev: 58ce8f4bac9edd6625b6952d7038b90660ac09be Message-Id: <20220513141734.EB8D6395C063@sourceware.org> Date: Fri, 13 May 2022 14:17:34 +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: Fri, 13 May 2022 14:17:35 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=58ce8f4bac9edd6625b6952d7038b90660ac09be commit 58ce8f4bac9edd6625b6952d7038b90660ac09be Author: Adhemerval Zanella Date: Mon Mar 7 15:35:26 2022 -0300 Remove libc_hidden_proto (confstr) Diff: --- debug/confstr_chk.c | 2 +- include/unistd.h | 1 - posix/confstr.c | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/debug/confstr_chk.c b/debug/confstr_chk.c index a73bdcdd4f..67823d6670 100644 --- a/debug/confstr_chk.c +++ b/debug/confstr_chk.c @@ -24,5 +24,5 @@ __confstr_chk (int name, char *buf, size_t len, size_t buflen) if (__glibc_unlikely (buflen < len)) __chk_fail (); - return confstr (name, buf, len); + return __confstr (name, buf, len); } diff --git a/include/unistd.h b/include/unistd.h index af795a37c8..8f35fd1b5a 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -13,7 +13,6 @@ rtld_hidden_proto (_exit, __noreturn__) libc_hidden_proto (alarm) extern size_t __confstr (int name, char *buf, size_t len); libc_hidden_proto (__confstr) -libc_hidden_proto (confstr) libc_hidden_proto (execl) libc_hidden_proto (execle) libc_hidden_proto (execlp) diff --git a/posix/confstr.c b/posix/confstr.c index 6e3c264462..cfaab1cfa0 100644 --- a/posix/confstr.c +++ b/posix/confstr.c @@ -290,5 +290,4 @@ __confstr (int name, char *buf, size_t len) return string_len; } libc_hidden_def (__confstr) -libc_hidden_def (confstr) weak_alias (__confstr, confstr)