diff options
| author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-27 22:38:08 +0000 |
|---|---|---|
| committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-27 22:38:08 +0000 |
| commit | c1e99292fb32ae0080ca719c5433d4eb39ed5b10 (patch) | |
| tree | 32c357f28dc03c55998a9b3a2c41d71af8c44500 | |
| parent | 2e1f41a9715c471f4681d98cac6cc8f76ac0a1a3 (diff) | |
| download | ppe42-gcc-c1e99292fb32ae0080ca719c5433d4eb39ed5b10.tar.gz ppe42-gcc-c1e99292fb32ae0080ca719c5433d4eb39ed5b10.zip | |
* system.h (getpagesize): Return 'int' instead of 'long'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88204 138bc75d-0d04-0410-961f-82ee72b054a4
| -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 71efb3670c2..02477ba355d 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 191e1b102c6..7e002a1157c 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 |

