diff options
author | sam <sam@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-11-23 13:16:54 +0000 |
---|---|---|
committer | sam <sam@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-11-23 13:16:54 +0000 |
commit | 682b5967c7c187ce5a852bc134944f9acfd3585a (patch) | |
tree | 56a41285f1340e35411735052795b4b1e040e120 /gcc/ada/s-inmaop-posix.adb | |
parent | 02f47b8f43868c1d037c74727b416c0916c7231c (diff) | |
download | gcc-682b5967c7c187ce5a852bc134944f9acfd3585a.tar.gz |
gcc/ada/
* s-inmaop-posix.adb, s-intman-vxworks.adb, s-taprop-hpux-dce.adb,
s-taprop-irix.adb, s-taprop-linux.adb, s-taprop-lynxos.adb,
s-taprop-posix.adb, s-taprop-tru64.adb, s-taprop-vxworks.adb:
Use 'Access instead of 'Unchecked_Access in second and third
arguments of pthread_sigmask.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130376 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/s-inmaop-posix.adb')
-rw-r--r-- | gcc/ada/s-inmaop-posix.adb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/ada/s-inmaop-posix.adb b/gcc/ada/s-inmaop-posix.adb index 5cee6255e40..a38d391fdfc 100644 --- a/gcc/ada/s-inmaop-posix.adb +++ b/gcc/ada/s-inmaop-posix.adb @@ -77,7 +77,7 @@ package body System.Interrupt_Management.Operations is pragma Assert (Result = 0); Result := sigaddset (Mask'Access, Signal (Interrupt)); pragma Assert (Result = 0); - Result := pthread_sigmask (SIG_BLOCK, Mask'Unchecked_Access, null); + Result := pthread_sigmask (SIG_BLOCK, Mask'Access, null); pragma Assert (Result = 0); end Thread_Block_Interrupt; @@ -95,7 +95,7 @@ package body System.Interrupt_Management.Operations is pragma Assert (Result = 0); Result := sigaddset (Mask'Access, Signal (Interrupt)); pragma Assert (Result = 0); - Result := pthread_sigmask (SIG_UNBLOCK, Mask'Unchecked_Access, null); + Result := pthread_sigmask (SIG_UNBLOCK, Mask'Access, null); pragma Assert (Result = 0); end Thread_Unblock_Interrupt; @@ -286,7 +286,7 @@ begin for Sig in 1 .. Signal'Last loop Result := sigaction - (Sig, null, Initial_Action (Sig)'Unchecked_Access); + (Sig, null, Initial_Action (Sig)'Access); -- ??? [assert 1] -- we can't check Result here since sigaction will fail on @@ -326,12 +326,12 @@ begin -- The Keep_Unmasked signals should be unmasked for Environment task - Result := pthread_sigmask (SIG_UNBLOCK, mask'Unchecked_Access, null); + Result := pthread_sigmask (SIG_UNBLOCK, mask'Access, null); pragma Assert (Result = 0); -- Get the signal mask of the Environment Task - Result := pthread_sigmask (SIG_SETMASK, null, mask'Unchecked_Access); + Result := pthread_sigmask (SIG_SETMASK, null, mask'Access); pragma Assert (Result = 0); -- Setup the constants exported |