From 9bd6766df1578d7f149786a809802badf4873ef6 Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Sat, 14 Nov 2015 09:09:01 +0000 Subject: [PATCH] re PR ada/68345 (gnat build broken on dragonfly due to omission of r229342) 2015-11-13 Arnaud Charlet PR ada/68345 * s-osinte-dragonfly.ads (Get_Page_Size): C function returns an int. From-SVN: r230373 --- gcc/ada/ChangeLog | 5 +++++ gcc/ada/s-osinte-dragonfly.ads | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 00c044a921f..ef84a56d7fc 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2015-11-13 Arnaud Charlet + + PR ada/68345 + * s-osinte-dragonfly.ads (Get_Page_Size): C function returns an int. + 2015-11-13 David Malcolm * gcc-interface/trans.c (Sloc_to_locus): Add line_table param when diff --git a/gcc/ada/s-osinte-dragonfly.ads b/gcc/ada/s-osinte-dragonfly.ads index 5d7e9ab594a..a67702ca82c 100644 --- a/gcc/ada/s-osinte-dragonfly.ads +++ b/gcc/ada/s-osinte-dragonfly.ads @@ -330,8 +330,7 @@ package System.OS_Interface is -- returns the stack base of the specified thread. Only call this function -- when Stack_Base_Available is True. - 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 -- 2.30.2