===================================================================
@@ -1,3 +1,10 @@
+2016-05-27 Jan Sommer <soja-lists@aries.uberspace.de>
+
+ PR ada/71317
+ * s-osinte-rtems.ads: Fix missing/wrong function declarations:
+ Missing: clock_getres
+ Wrong: Get_Page_Size
+
2016-05-20 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>:
===================================================================
@@ -188,6 +188,11 @@ package System.OS_Interface is
tp : access timespec) return int;
pragma Import (C, clock_gettime, "clock_gettime");
+ function clock_getres
+ (clock_id : clockid_t;
+ res : access timespec) return int;
+ pragma Import (C, clock_getres, "clock_getres");
+
function To_Duration (TS : timespec) return Duration;
pragma Inline (To_Duration);
@@ -291,8 +296,7 @@ package System.OS_Interface is
-- These two functions are only needed to share s-taprop.adb with
-- FSU threads.
- function Get_Page_Size return size_t;
- function Get_Page_Size return Address;
+ function Get_Page_Size return int;
pragma Import (C, Get_Page_Size, "getpagesize");
-- Returns the size of a page