summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/getpagesize.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-09-24 11:14:12 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-09-24 11:14:12 +0000
commitd3b5fe3a2e24c2847940c17d7c617fc02b716abc (patch)
tree0e14feb2dba042309d0c676b5dcf7a9bfb39e442 /cpukit/libcsupport/src/getpagesize.c
parentRegenerate. (diff)
downloadrtems-d3b5fe3a2e24c2847940c17d7c617fc02b716abc.tar.bz2
2009-09-24 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/getpagesize.c, posix/Makefile.am: Eliminate one copy of getpagesize() and make it return an int. * posix/src/getpagesize.c: Removed.
Diffstat (limited to 'cpukit/libcsupport/src/getpagesize.c')
-rw-r--r--cpukit/libcsupport/src/getpagesize.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/cpukit/libcsupport/src/getpagesize.c b/cpukit/libcsupport/src/getpagesize.c
index 43fef9d9ca..3ea44be1fa 100644
--- a/cpukit/libcsupport/src/getpagesize.c
+++ b/cpukit/libcsupport/src/getpagesize.c
@@ -9,16 +9,14 @@
#include <unistd.h>
#include <sys/param.h>
-/*PAGE
- *
+/*
* Get System Page Size (from SVR4 and 4.2+ BSD)
*
* This is not a functional version but the SPARC backend for at least
* gcc 2.8.1 plus gnat 3.13p and gcc 3.0.1 require it to be there and
* return a reasonable value.
*/
-
-size_t getpagesize(void)
+int getpagesize(void)
{
return PAGE_SIZE;
}