From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 4C28F3858C1F; Tue, 15 Mar 2022 18:39:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4C28F3858C1F 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] resolv: Make inline functions static X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/azanella/clang X-Git-Oldrev: a7efcb88a7e30886765147870ba0d78f2fc30781 X-Git-Newrev: b9042d54120cab9469025f1c9da21e2cd37f1efd Message-Id: <20220315183951.4C28F3858C1F@sourceware.org> Date: Tue, 15 Mar 2022 18:39:51 +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: Tue, 15 Mar 2022 18:39:51 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b9042d54120cab9469025f1c9da21e2cd37f1efd commit b9042d54120cab9469025f1c9da21e2cd37f1efd Author: Adhemerval Zanella Date: Thu Mar 10 10:11:03 2022 -0300 resolv: Make inline functions static Diff: --- resolv/gai_misc.c | 2 +- sysdeps/nptl/gai_misc.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resolv/gai_misc.c b/resolv/gai_misc.c index 8ce3c778eb..089564ec5b 100644 --- a/resolv/gai_misc.c +++ b/resolv/gai_misc.c @@ -37,7 +37,7 @@ #ifndef gai_create_helper_thread # define gai_create_helper_thread __gai_create_helper_thread -extern inline int +static inline int __gai_create_helper_thread (pthread_t *threadp, void *(*tf) (void *), void *arg) { diff --git a/sysdeps/nptl/gai_misc.h b/sysdeps/nptl/gai_misc.h index c09350c2ed..3fab2f5f13 100644 --- a/sysdeps/nptl/gai_misc.h +++ b/sysdeps/nptl/gai_misc.h @@ -76,7 +76,7 @@ #define gai_start_notify_thread __gai_start_notify_thread #define gai_create_helper_thread __gai_create_helper_thread -extern inline void +static inline void __gai_start_notify_thread (void) { sigset_t ss; @@ -86,7 +86,7 @@ __gai_start_notify_thread (void) assert_perror (sigerr); } -extern inline int +static inline int __gai_create_helper_thread (pthread_t *threadp, void *(*tf) (void *), void *arg) {