summary refs log tree commit diff
path: root/sysvipc
diff options
context:
space:
mode:
Diffstat (limited to 'sysvipc')
-rw-r--r--sysvipc/sys/shm.h4
1 files changed, 2 insertions, 2 deletions
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 <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;