OSDN Git Service

Properly detect Atom, Core 2 and Core i7.
[pf3gnuchains/gcc-fork.git] / libiberty / getpagesize.c
index 564d6c0..1c3a263 100644 (file)
@@ -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;