* posix/unistd.h: Move internal prototypes from here ...
	* include/unistd.h: ... to here.

	* sysvipc/sys/shm.h: Add const attribute to __getpagesize.
This commit is contained in:
Andreas Jaeger 2000-08-24 08:33:49 +00:00
parent 6991feeb94
commit 219f2381bd
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View 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