summary refs log tree commit diff
path: root/sysvipc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-13 01:09:57 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-13 01:09:57 +0000
commit0da2f50b44c14d358c3d66ef117fd569cae7ced5 (patch)
treeab6b4100664acd355caacca6362873c35f87e1f3 /sysvipc
parent4b40cff41a10f74cd9f964b84f1d380ca990a7fb (diff)
downloadglibc-0da2f50b44c14d358c3d66ef117fd569cae7ced5.tar.gz
glibc-0da2f50b44c14d358c3d66ef117fd569cae7ced5.tar.xz
glibc-0da2f50b44c14d358c3d66ef117fd569cae7ced5.zip
Update.
	* sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C++.
	Reported by HJ Lu.
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;