diff options
author | Eric Botcazou <ebotcazou@libertysurf.fr> | 2004-09-28 00:38:08 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2004-09-27 22:38:08 +0000 |
commit | f6260033c92f71f955dcb58bb7a270e02b84acd7 (patch) | |
tree | 32c357f28dc03c55998a9b3a2c41d71af8c44500 /gcc | |
parent | 7d381002de0ac552616dcc77fec78e769dffa592 (diff) | |
download | gcc-f6260033c92f71f955dcb58bb7a270e02b84acd7.zip gcc-f6260033c92f71f955dcb58bb7a270e02b84acd7.tar.gz gcc-f6260033c92f71f955dcb58bb7a270e02b84acd7.tar.bz2 |
* system.h (getpagesize): Return 'int' instead of 'long'.
From-SVN: r88204
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/system.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 71efb36..02477ba 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-09-27 Eric Botcazou <ebotcazou@libertysurf.fr> + + * system.h (getpagesize): Return 'int' instead of 'long'. + 2004-09-27 Michael Matz <matz@suse.de> PR bootstrap/17698 diff --git a/gcc/system.h b/gcc/system.h index 191e1b1..7e002a1 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -303,8 +303,8 @@ extern char *getenv (const char *); extern int getopt (int, char * const *, const char *); #endif -#if defined(HAVE_DECL_GETPAGESIZE) && !HAVE_DECL_GETPAGESIZE -extern long getpagesize (void); +#if defined (HAVE_DECL_GETPAGESIZE) && !HAVE_DECL_GETPAGESIZE +extern int getpagesize (void); #endif #if defined (HAVE_DECL_GETWD) && !HAVE_DECL_GETWD |