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] resolv: Make inline functions static Date: Fri, 11 Mar 2022 17:23:57 +0000 (GMT) [thread overview] Message-ID: <20220311172357.7FD89385780D@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ffa10bf9603f152e6a688a9242c7da6e708ad54e commit ffa10bf9603f152e6a688a9242c7da6e708ad54e Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> 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) {
next reply other threads:[~2022-03-11 17:23 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-03-11 17:23 Adhemerval Zanella [this message] -- strict thread matches above, loose matches on Subject: below -- 2022-03-16 18:02 Adhemerval Zanella 2022-03-15 18:39 Adhemerval Zanella 2022-03-10 19:22 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=20220311172357.7FD89385780D@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: linkBe 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).