about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-08-12 02:42:08 +0000
committerUlrich Drepper <drepper@redhat.com>2004-08-12 02:42:08 +0000
commit7543b60cc234af84720759c1d78638c59a2015a6 (patch)
tree56001026cc6efdb1c6189669bd5223984137a214 /sysdeps/unix
parent0569cbbc02bee37c3d0f69f41a254697c68a6d61 (diff)
downloadglibc-7543b60cc234af84720759c1d78638c59a2015a6.tar.gz
glibc-7543b60cc234af84720759c1d78638c59a2015a6.tar.xz
glibc-7543b60cc234af84720759c1d78638c59a2015a6.zip
Add __BEGIN_DECLS for __getpagesize declaration.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/bits/shm.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/shm.h b/sysdeps/unix/sysv/linux/bits/shm.h
index 6d5c88d596..639c126314 100644
--- a/sysdeps/unix/sysv/linux/bits/shm.h
+++ b/sysdeps/unix/sysv/linux/bits/shm.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997, 2000, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1995,1996,1997,2000,2002,2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -35,6 +35,8 @@
 #define SHM_LOCK	11		/* lock segment (root only) */
 #define SHM_UNLOCK	12		/* unlock segment (root only) */
 
+__BEGIN_DECLS
+
 /* Segment low boundary address multiple.  */
 #define SHMLBA		(__getpagesize ())
 extern int __getpagesize (void) __THROW __attribute__ ((__const__));
@@ -95,4 +97,6 @@ struct shm_info
     unsigned long int swap_successes;
   };
 
+__END_DECLS
+
 #endif /* __USE_MISC */