summaryrefslogtreecommitdiff
path: root/libc/misc/sysvipc/shm.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/sysvipc/shm.c')
-rw-r--r--libc/misc/sysvipc/shm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/misc/sysvipc/shm.c b/libc/misc/sysvipc/shm.c
index 33fd16153..14a1ee32b 100644
--- a/libc/misc/sysvipc/shm.c
+++ b/libc/misc/sysvipc/shm.c
@@ -18,7 +18,7 @@
Boston, MA 02111-1307, USA. */
/* SHMLBA uses it */
-#define __getpagesize __getpagesize_internal
+#define __getpagesize getpagesize
#include <stdlib.h>
#include <errno.h>
@@ -26,6 +26,8 @@
#include <syscall.h>
#include "ipc.h"
+libc_hidden_proto(getpagesize)
+
#ifdef L_shmat
/* Attach the shared memory segment associated with SHMID to the data
segment of the calling process. SHMADDR and SHMFLG determine how