1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00
* sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C++.
	Reported by HJ Lu.
This commit is contained in:
Ulrich Drepper
2000-06-13 01:09:57 +00:00
parent 4b40cff41a
commit 0da2f50b44
3 changed files with 107 additions and 102 deletions

View File

@@ -35,6 +35,8 @@
#include <time.h>
__BEGIN_DECLS
/* Segment low boundary address multiple. */
#define SHMLBA (__getpagesize ())
extern int __getpagesize (void) __THROW;
@@ -43,8 +45,6 @@ extern int __getpagesize (void) __THROW;
/* The following System V style IPC functions implement a shared memory
facility. The definition is found in XPG4.2. */
__BEGIN_DECLS
/* Shared memory control operation. */
extern int shmctl (int __shmid, int __cmd, struct shmid_ds *__buf) __THROW;