diff options
author | joel <joel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-12-02 15:17:14 +0000 |
---|---|---|
committer | joel <joel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-12-02 15:17:14 +0000 |
commit | e337be95e6621e643bb95c427d082867610141ae (patch) | |
tree | 5b3c66b9ef6c2e3f6a5abc3d00b5bd78c86f5158 /gcc/ada/s-osinte-rtems.adb | |
parent | cf1f467bf5ef6188623b0fb15c739f3f37f32053 (diff) | |
download | ppe42-gcc-e337be95e6621e643bb95c427d082867610141ae.tar.gz ppe42-gcc-e337be95e6621e643bb95c427d082867610141ae.zip |
2011-12-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* s-tpopsp-rtems.adb: Use ATCB_Key rather than RTEMS_Ada_Self variable
for consistency with other ports.
* s-osinte-rtems.adb: Add body for dummy implementation of
pthread_rwlockattr_setkind_np().
* s-osinte-rtems.ads: Add missing clock and rwlock bindings.
* terminals.c: Add __rtems__ conditionals to account for differences
in termios implementation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181924 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/s-osinte-rtems.adb')
-rw-r--r-- | gcc/ada/s-osinte-rtems.adb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/ada/s-osinte-rtems.adb b/gcc/ada/s-osinte-rtems.adb index d8e57f692d4..fc99ce4e848 100644 --- a/gcc/ada/s-osinte-rtems.adb +++ b/gcc/ada/s-osinte-rtems.adb @@ -122,4 +122,17 @@ package body System.OS_Interface is return 0; end sigaltstack; + ----------------------------------- + -- pthread_rwlockattr_setkind_np -- + ----------------------------------- + + function pthread_rwlockattr_setkind_np + (attr : access pthread_rwlockattr_t; + pref : int) return int is + pragma Unreferenced (attr); + pragma Unreferenced (pref); + begin + return 0; + end pthread_rwlockattr_setkind_np; + end System.OS_Interface; |