From: Arnaud Charlet Date: Sat, 14 Nov 2015 09:09:01 +0000 (+0000) Subject: re PR ada/68345 (gnat build broken on dragonfly due to omission of r229342) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9bd6766df1578d7f149786a809802badf4873ef6;p=gcc.git 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 --- 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