public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Samuel Tardieu <sam@rfc1149.net>
To: gcc-patches@gcc.gnu.org
Subject: [PATCH v2 3/4] Interix was the only system to use a named sigset_t access type
Date: Wed, 14 Nov 2007 12:31:00 -0000	[thread overview]
Message-ID: <20071114102229.A25C8C407C@mail2.rfc1149.net> (raw)
In-Reply-To: <2007-11-14-11-21-15+trackit+sam@rfc1149.net>

    gcc/ada/
	* s-osinte-interix.ads: Remove type sigset_t_ptr and
	use access sigset_t instead as is one on other plaforms.
---
 gcc/ada/s-osinte-interix.ads |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/gcc/ada/s-osinte-interix.ads b/gcc/ada/s-osinte-interix.ads
index 844e12c..860aee3 100644
--- a/gcc/ada/s-osinte-interix.ads
+++ b/gcc/ada/s-osinte-interix.ads
@@ -312,12 +312,10 @@ package System.OS_Interface is
       sig    : Signal) return   int;
    pragma Import (C, pthread_kill, "pthread_kill");
 
-   type sigset_t_ptr is access all sigset_t;
-
    function pthread_sigmask
      (how  : int;
-      set  : sigset_t_ptr;
-      oset : sigset_t_ptr) return int;
+      set  : access sigset_t;
+      oset : access sigset_t) return int;
    pragma Import (C, pthread_sigmask, "pthread_wrapper_sigprocmask");
 
    --------------------------
-- 
1.5.3.5

      parent reply	other threads:[~2007-11-14 10:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-14 12:04 [PATCH v2 1/4] ada: Generate warning on useless 'Unchecked_Access with -gnatw.u Samuel Tardieu
2007-11-14 11:58 ` [PATCH v2 2/4] ada: Add description of -gnatw.u/-gnatw.U in user manual Samuel Tardieu
2007-11-14 12:31 ` [PATCH v2 4/4] Use 'Access where appropriate Samuel Tardieu
2007-11-21 15:53   ` Arnaud Charlet
2007-11-14 12:31 ` Samuel Tardieu [this message]

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=20071114102229.A25C8C407C@mail2.rfc1149.net \
    --to=sam@rfc1149.net \
    --cc=gcc-patches@gcc.gnu.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).