--- np2/x11/timemng.h 2003/11/16 16:43:45 1.2 +++ np2/x11/timemng.h 2011/01/15 19:16:58 1.4 @@ -1,7 +1,9 @@ #ifndef NP2_X11_TIMEMNG_H__ #define NP2_X11_TIMEMNG_H__ -// Win32 SYSTEMTIME ストラクチャ +G_BEGIN_DECLS + +// Win32 SYSTEMTIME ストラクチャ typedef struct { UINT16 year; @@ -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__ */