From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 064D1383801F; Thu, 31 Mar 2022 19:04:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 064D1383801F 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: eaafd8a077168040a469808b5305909e43ea044f X-Git-Newrev: a90b537a5b756c165445f3e30cffd812269948dc Message-Id: <20220331190419.064D1383801F@sourceware.org> Date: Thu, 31 Mar 2022 19:04:19 +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, 31 Mar 2022 19:04:19 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a90b537a5b756c165445f3e30cffd812269948dc commit a90b537a5b756c165445f3e30cffd812269948dc 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 7090169601..9f09c35553 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)