From f6260033c92f71f955dcb58bb7a270e02b84acd7 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Tue, 28 Sep 2004 00:38:08 +0200 Subject: [PATCH] * system.h (getpagesize): Return 'int' instead of 'long'. From-SVN: r88204 --- gcc/ChangeLog | 4 ++++ 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 + + * system.h (getpagesize): Return 'int' instead of 'long'. + 2004-09-27 Michael Matz 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