[Commit] libpixregion/src pixregion.h,1.4,1.5
Carl Worth
commit at keithp.com
Wed Jul 30 11:36:52 PDT 2003
Committed by: cworth
Update of /local/src/CVS/libpixregion/src
In directory home.keithp.com:/tmp/cvs-serv22801/src
Modified Files:
pixregion.h
Log Message:
Removed false dependency on X.
Index: pixregion.h
===================================================================
RCS file: /local/src/CVS/libpixregion/src/pixregion.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- pixregion.h 30 Jul 2003 17:06:34 -0000 1.4
+++ pixregion.h 30 Jul 2003 17:36:50 -0000 1.5
@@ -49,15 +49,15 @@
#ifndef _PIXREGION_H_
#define _PIXREGION_H_
-#include <X11/Xfuncproto.h>
-
#ifdef _PIXREGIONINT_H_
#include <slim_export.h>
#else
#include <slim_import.h>
#endif
-_XFUNCPROTOBEGIN
+#if defined(__cplusplus) || defined(c_plusplus)
+extern "C" {
+#endif
typedef struct _PixRegion PixRegion;
@@ -156,7 +156,10 @@
extern void __external_linkage
PixRegionEmpty (PixRegion *region);
-_XFUNCPROTOEND
+#if defined(__cplusplus) || defined(c_plusplus)
+}
+#endif
+
#undef __external_linkage
#endif /* _PIXREGION_H_ */
More information about the Commit
mailing list