[uClibc-cvs] uClibc/libc/sysdeps/linux/common/bits shm.h,1.2,1.3

Erik Andersen andersen at uclibc.org
Tue Aug 5 18:51:19 UTC 2003


Update of /var/cvs/uClibc/libc/sysdeps/linux/common/bits
In directory winder:/tmp/cvs-serv8771/libc/sysdeps/linux/common/bits

Modified Files:
	shm.h 
Log Message:
Patch from David Wuertele to prevent "conflicts with new declaration with C
linkage" problems with C++


Index: shm.h
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/common/bits/shm.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- shm.h	1 Aug 2003 09:13:41 -0000	1.2
+++ shm.h	5 Aug 2003 18:51:16 -0000	1.3
@@ -35,9 +35,13 @@
 #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__));
+
+__END_DECLS
 
 
 /* Type to count number of attaches.  */




More information about the uClibc-cvs mailing list