about summary refs log tree commit diff
path: root/sysdeps/posix/getpagesize.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/getpagesize.c')
-rw-r--r--sysdeps/posix/getpagesize.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/posix/getpagesize.c b/sysdeps/posix/getpagesize.c
index 9ea1ea4b02..4fc0ccfec1 100644
--- a/sysdeps/posix/getpagesize.c
+++ b/sysdeps/posix/getpagesize.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1995, 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995, 1996, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Brendan Kehoe (brendan@cygnus.com).
 
@@ -19,6 +19,8 @@
 
 #include <unistd.h>
 
+#undef __getpagesize
+
 /* Return the system page size.  */
 int
 __getpagesize (void)
@@ -26,4 +28,5 @@ __getpagesize (void)
   return __sysconf (_SC_PAGESIZE);
 }
 
+INTDEF(__getpagesize)
 weak_alias (__getpagesize, getpagesize)