summaryrefslogtreecommitdiff
path: root/include/X11
diff options
context:
space:
mode:
Diffstat (limited to 'include/X11')
-rw-r--r--include/X11/xpm.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/X11/xpm.h b/include/X11/xpm.h
index 1cbc3a3..ed46133 100644
--- a/include/X11/xpm.h
+++ b/include/X11/xpm.h
@@ -284,9 +284,7 @@ typedef struct {
* functions declarations
*/
-#ifdef __cplusplus
-extern "C" {
-#endif
+_XFUNCPROTOBEGIN
/* FOR_MSW, all ..Pixmap.. are excluded, only the ..XImage.. are used */
/* Same for Amiga! */
@@ -440,10 +438,7 @@ extern "C" {
FUNC(XpmFree, void, (void *ptr));
-#ifdef __cplusplus
-} /* for C++ V2.0 */
-#endif
-
+_XFUNCPROTOEND
/* backward compatibility */