--- np2/x11/cmserial.h 2004/03/26 13:58:51 1.1 +++ np2/x11/cmserial.h 2011/01/15 19:16:58 1.3 @@ -1,13 +1,9 @@ -/* $Id: cmserial.h,v 1.1 2004/03/26 13:58:51 monaka Exp $ */ - #ifndef NP2_X11_CMSERIAL_H__ #define NP2_X11_CMSERIAL_H__ // ---- com manager serial for unix -#ifdef __cplusplus -extern "C" { -#endif +G_BEGIN_DECLS extern const UINT32 cmserial_speed[10]; @@ -19,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__ */