*** include/X11/xpm.h.orig 2004-09-02 11:12:58.948621749 -0600 --- include/X11/xpm.h 2004-09-02 11:28:53.786122628 -0600 *************** typedef struct { *** 284,292 **** * functions declarations */ ! #ifdef __cplusplus ! extern "C" { ! #endif /* FOR_MSW, all ..Pixmap.. are excluded, only the ..XImage.. are used */ /* Same for Amiga! */ --- 284,290 ---- * functions declarations */ ! _XFUNCPROTOBEGIN /* FOR_MSW, all ..Pixmap.. are excluded, only the ..XImage.. are used */ /* Same for Amiga! */ *************** extern "C" { *** 440,448 **** FUNC(XpmFree, void, (void *ptr)); ! #ifdef __cplusplus ! } /* for C++ V2.0 */ ! #endif /* backward compatibility */ --- 438,444 ---- FUNC(XpmFree, void, (void *ptr)); ! _XFUNCPROTOEND /* backward compatibility */