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] Remove libc_hidden_proto (confstr)
Date: Fri,  3 Jun 2022 14:03:44 +0000 (GMT)	[thread overview]
Message-ID: <20220603140344.12549385084F@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a1ac1870564b8693278b22ac5c477398f5e9638c

commit a1ac1870564b8693278b22ac5c477398f5e9638c
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
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)


             reply	other threads:[~2022-06-03 14:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-03 14:03 Adhemerval Zanella [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-06-09 21:17 Adhemerval Zanella
2022-06-09 13:14 Adhemerval Zanella
2022-05-13 14:17 Adhemerval Zanella
2022-05-12 19:31 Adhemerval Zanella
2022-05-10 18:21 Adhemerval Zanella
2022-04-29 14:01 Adhemerval Zanella
2022-04-04 12:51 Adhemerval Zanella
2022-03-31 19:04 Adhemerval Zanella
2022-03-29 20:27 Adhemerval Zanella
2022-03-16 17:59 Adhemerval Zanella
2022-03-15 18:37 Adhemerval Zanella
2022-03-11 17:21 Adhemerval Zanella
2022-03-08 18:57 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=20220603140344.12549385084F@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: link
Be 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).