about summary refs log tree commit diff
path: root/bits/shm.h
diff options
context:
space:
mode:
Diffstat (limited to 'bits/shm.h')
-rw-r--r--bits/shm.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/bits/shm.h b/bits/shm.h
index 44a18d6c3a..746a863486 100644
--- a/bits/shm.h
+++ b/bits/shm.h
@@ -1,4 +1,5 @@
-/* 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
@@ -31,6 +32,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__));
@@ -51,3 +54,5 @@ struct shmid_ds
     __pid_t shm_lpid;			/* pid of last shmop */
     shmatt_t shm_nattch;		/* number of current attaches */
   };
+
+__END_DECLS