diff options
author | Arnaud Charlet <charlet@adacore.com> | 2015-11-14 09:09:01 +0000 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2015-11-14 10:09:01 +0100 |
commit | 9bd6766df1578d7f149786a809802badf4873ef6 (patch) | |
tree | 26ed642460265549e74bd1781fb3bd5c7e7fec0b /gcc/ada | |
parent | e63e20c0736126a4fea0693e419be21716f1e4f6 (diff) | |
download | gcc-9bd6766df1578d7f149786a809802badf4873ef6.zip gcc-9bd6766df1578d7f149786a809802badf4873ef6.tar.gz gcc-9bd6766df1578d7f149786a809802badf4873ef6.tar.bz2 |
re PR ada/68345 (gnat build broken on dragonfly due to omission of r229342)
2015-11-13 Arnaud Charlet <charlet@adacore.com>
PR ada/68345
* s-osinte-dragonfly.ads (Get_Page_Size): C function returns an int.
From-SVN: r230373
Diffstat (limited to 'gcc/ada')
-rw-r--r-- | gcc/ada/ChangeLog | 5 | ||||
-rw-r--r-- | 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 00c044a..ef84a56 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2015-11-13 Arnaud Charlet <charlet@adacore.com> + + PR ada/68345 + * s-osinte-dragonfly.ads (Get_Page_Size): C function returns an int. + 2015-11-13 David Malcolm <dmalcolm@redhat.com> * 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 5d7e9ab..a67702c 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 |