Update.
authorAndreas Jaeger <aj@suse.de>
Thu, 24 Aug 2000 08:33:49 +0000 (08:33 +0000)
committerAndreas Jaeger <aj@suse.de>
Thu, 24 Aug 2000 08:33:49 +0000 (08:33 +0000)
* posix/unistd.h: Move internal prototypes from here ...
* include/unistd.h: ... to here.

* sysvipc/sys/shm.h: Add const attribute to __getpagesize.

ChangeLog
sysvipc/sys/shm.h

index 1b60d93..ddaa3f5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,11 @@
 
        * sysdeps/unix/syscalls.list: Use __setrlimit as strong name.
 
+       * posix/unistd.h: Move internal prototypes from here ...
+       * include/unistd.h: ... to here.
+
+       * sysvipc/sys/shm.h: Add const attribute to __getpagesize.
+
 2000-08-24  Ulrich Drepper  <drepper@redhat.com>
 
        * grp/initgroups.c (initgroups): Deallocate groups array.
index 7a00a39..ff9e04c 100644 (file)
@@ -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