about summary refs log tree commit diff
path: root/sysvipc/sys/shm.h
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-08-24 08:33:49 +0000
committerAndreas Jaeger <aj@suse.de>2000-08-24 08:33:49 +0000
commit219f2381bdaec9c12d84f237f504fe4e3ac41c91 (patch)
tree8b538f2e6c3bc1540461fdcb5f15e49d371b990c /sysvipc/sys/shm.h
parent6991feeb9442298d5d789edf60d846f80119b06c (diff)
downloadglibc-219f2381bdaec9c12d84f237f504fe4e3ac41c91.tar.gz
glibc-219f2381bdaec9c12d84f237f504fe4e3ac41c91.tar.xz
glibc-219f2381bdaec9c12d84f237f504fe4e3ac41c91.zip
Update.
	* posix/unistd.h: Move internal prototypes from here ...
	* include/unistd.h: ... to here.

	* sysvipc/sys/shm.h: Add const attribute to __getpagesize.
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