mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
Update.
* sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C++. Reported by HJ Lu.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user