From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 067373858428; Thu, 10 Mar 2022 19:22:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 067373858428 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: 7619eea725ffa01c1a9c2bbde964ed6cf5cef8cb X-Git-Newrev: deafc06d255889984f7a7dfdb0c9a941a79e5f86 Message-Id: <20220310192253.067373858428@sourceware.org> Date: Thu, 10 Mar 2022 19:22:53 +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, 10 Mar 2022 19:22:53 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=deafc06d255889984f7a7dfdb0c9a941a79e5f86 commit deafc06d255889984f7a7dfdb0c9a941a79e5f86 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) {