From 0da2f50b44c14d358c3d66ef117fd569cae7ced5 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 13 Jun 2000 01:09:57 +0000 Subject: Update. * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C++. Reported by HJ Lu. --- sysvipc/sys/shm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysvipc') diff --git a/sysvipc/sys/shm.h b/sysvipc/sys/shm.h index 8622f82dca..b74a9cb441 100644 --- a/sysvipc/sys/shm.h +++ b/sysvipc/sys/shm.h @@ -35,6 +35,8 @@ #include +__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; -- cgit v1.2.3-65-gdbad