about summary refs log tree commit diff
path: root/sysvipc/sys/shm.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysvipc/sys/shm.h')
-rw-r--r--sysvipc/sys/shm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysvipc/sys/shm.h b/sysvipc/sys/shm.h
index 7a00a39f67..ff9e04ca06 100644
--- a/sysvipc/sys/shm.h
+++ b/sysvipc/sys/shm.h
@@ -45,7 +45,7 @@ __BEGIN_DECLS
 
 /* Segment low boundary address multiple.  */
 #define SHMLBA		(__getpagesize ())
-extern int __getpagesize (void) __THROW;
+extern int __getpagesize (void) __THROW __attribute__ ((__const__));
 
 
 /* The following System V style IPC functions implement a shared memory