From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 7FD89385780D; Fri, 11 Mar 2022 17:23:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7FD89385780D 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: 1e318b0135f8c704f9caf637ff40b20cca61dcfa X-Git-Newrev: ffa10bf9603f152e6a688a9242c7da6e708ad54e Message-Id: <20220311172357.7FD89385780D@sourceware.org> Date: Fri, 11 Mar 2022 17:23:57 +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, 11 Mar 2022 17:23:57 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ffa10bf9603f152e6a688a9242c7da6e708ad54e commit ffa10bf9603f152e6a688a9242c7da6e708ad54e 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) {