--- np2/x11/cmserial.h 2011/01/15 18:43:13 1.2 +++ np2/x11/cmserial.h 2011/01/15 19:16:58 1.3 @@ -3,9 +3,7 @@ // ---- com manager serial for unix -#ifdef __cplusplus -extern "C" { -#endif +G_BEGIN_DECLS extern const UINT32 cmserial_speed[10]; @@ -17,8 +15,6 @@ COMMNG cmserial_create(UINT port, BYTE p #define MAX_SERIAL_PORT_NUM 1 #endif -#ifdef __cplusplus -} -#endif +G_END_DECLS #endif /* NP2_X11_CMSERIAL_H__ */