This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Ada] Fix RTEMS target
- From: Laurent GUERBY <laurent at guerby dot net>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 08 Jul 2007 16:22:26 +0200
- Subject: [Ada] Fix RTEMS target
Tested by Joel, privately approved by Geert, commited on 4.2 (okayed by
Mark) and trunk.
Laurent
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32640
2007-07-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* s-osinte-rtems.ads: Correct prototype of pthread_sigmask.
--- /home/joel/tools-original/gcc-4.2.0/gcc/ada/s-osinte-rtems.ads 2005-06-30 20:29:17.000000000 -0500
+++ gcc-4.2.0/gcc/ada/s-osinte-rtems.ads 2007-06-22 17:25:56.000000000 -0500
@@ -291,12 +291,10 @@
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_sigmask");
----------------------------