--- np2/x11/timemng.h 2011/01/15 18:55:47 1.3 +++ np2/x11/timemng.h 2011/01/15 19:16:58 1.4 @@ -1,6 +1,8 @@ #ifndef NP2_X11_TIMEMNG_H__ #define NP2_X11_TIMEMNG_H__ +G_BEGIN_DECLS + // Win32 SYSTEMTIME ストラクチャ typedef struct { @@ -14,15 +16,8 @@ typedef struct { UINT16 milli; } _SYSTIME; - -#ifdef __cplusplus -extern "C" { -#endif - BOOL timemng_gettime(_SYSTIME *systime); -#ifdef __cplusplus -} -#endif +G_END_DECLS #endif /* NP2_X11_TIMEMNG_H__ */