aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/s-osinte-rtems.adb
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2011-12-02 15:17:14 +0000
committerJoel Sherrill <joel@gcc.gnu.org>2011-12-02 15:17:14 +0000
commitd0234c7ea568a43931259a649dfc1bb2bf6e4d93 (patch)
tree5b3c66b9ef6c2e3f6a5abc3d00b5bd78c86f5158 /gcc/ada/s-osinte-rtems.adb
parentd600ef1636fda28b2e8612253b7ab1a04066af0e (diff)
downloadgcc-d0234c7ea568a43931259a649dfc1bb2bf6e4d93.zip
gcc-d0234c7ea568a43931259a649dfc1bb2bf6e4d93.tar.gz
gcc-d0234c7ea568a43931259a649dfc1bb2bf6e4d93.tar.bz2
s-tpopsp-rtems.adb: Use ATCB_Key rather than RTEMS_Ada_Self variable for consistency with other ports.
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. From-SVN: r181924
Diffstat (limited to 'gcc/ada/s-osinte-rtems.adb')
-rw-r--r--gcc/ada/s-osinte-rtems.adb13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/ada/s-osinte-rtems.adb b/gcc/ada/s-osinte-rtems.adb
index d8e57f6..fc99ce4 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;