public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Samuel Thibault <sthibaul@sourceware.org>
To: glibc-cvs@sourceware.org
Subject: [glibc] hurd: Declare _hurd_intr_rpc_msg* with protected visibility
Date: Wed,  3 Jan 2024 21:00:07 +0000 (GMT)	[thread overview]
Message-ID: <20240103210007.D04E1385828A@sourceware.org> (raw)

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

commit b6931d6d14c71fd229cc2ff94c810bd3390687db
Author: Sergey Bugaev <bugaevc@gmail.com>
Date:   Wed Jan 3 20:14:35 2024 +0300

    hurd: Declare _hurd_intr_rpc_msg* with protected visibility
    
    These symbols are internal and never exported; make sure the compiler
    realizes that when compiling hurdsig.c and does not try to emit GOT
    reads.
    
    Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>

Diff:
---
 hurd/hurdsig.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c
index fe78819302..882a03471d 100644
--- a/hurd/hurdsig.c
+++ b/hurd/hurdsig.c
@@ -416,9 +416,9 @@ _hurdsig_abort_rpcs (struct hurd_sigstate *ss, int signo, int sigthread,
 		     struct machine_thread_all_state *state, int *state_change,
 		     void (*reply) (void))
 {
-  extern const void _hurd_intr_rpc_msg_about_to;
-  extern const void _hurd_intr_rpc_msg_setup_done;
-  extern const void _hurd_intr_rpc_msg_in_trap;
+  extern const void _hurd_intr_rpc_msg_about_to attribute_hidden;
+  extern const void _hurd_intr_rpc_msg_setup_done attribute_hidden;
+  extern const void _hurd_intr_rpc_msg_in_trap attribute_hidden;
   mach_port_t rcv_port = MACH_PORT_NULL;
   mach_port_t intr_port;

                 reply	other threads:[~2024-01-03 21:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20240103210007.D04E1385828A@sourceware.org \
    --to=sthibaul@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).