X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=libiberty%2Fgetpagesize.c;h=1c3a26304eae2344ba92f46966b2bb2b24116e7d;hb=d488367a421f4c4fd47d37ae0013318024b1019b;hp=564d6c02312f4935262ef95ae580eb3d301ab271;hpb=d0352a18a504a4e7b761f6b3264cf11347d8d056;p=deliverable%2Fbinutils-gdb.git diff --git a/libiberty/getpagesize.c b/libiberty/getpagesize.c index 564d6c0231..1c3a26304e 100644 --- a/libiberty/getpagesize.c +++ b/libiberty/getpagesize.c @@ -2,20 +2,14 @@ /* -NAME +@deftypefn Supplemental int getpagesize (void) - getpagesize -- return the number of bytes in page of memory +Returns the number of bytes in a page of memory. This is the +granularity of many of the system memory management routines. No +guarantee is made as to whether or not it is the same as the basic +memory management hardware page size. -SYNOPSIS - - int getpagesize (void) - -DESCRIPTION - - Returns the number of bytes in a page of memory. This is the - granularity of many of the system memory management routines. - No guarantee is made as to whether or not it is the same as the - basic memory management hardware page size. +@end deftypefn BUGS @@ -67,7 +61,7 @@ BUGS #endif /* GNU_OUR_PAGESIZE */ int -getpagesize () +getpagesize (void) { return (GNU_OUR_PAGESIZE); } @@ -82,7 +76,7 @@ getpagesize () #endif extern unsigned long lib$getsyi(const unsigned short *,...); -int getpagesize () +int getpagesize (void) { long pagsiz = 0L; unsigned short itmcod = SYI$_PAGE_SIZE;