--- np2/x11/taskmng.h 2003/12/19 16:08:01 1.2 +++ np2/x11/taskmng.h 2011/01/15 19:16:58 1.3 @@ -5,9 +5,7 @@ #include "np2.h" -#ifdef __cplusplus -extern "C" { -#endif +G_BEGIN_DECLS void taskmng_initialize(void); BOOL taskmng_sleep(UINT32 tick); @@ -15,8 +13,6 @@ void taskmng_exit(void); #define taskmng_isavail() np2running -#ifdef __cplusplus -} -#endif +G_END_DECLS #endif /* NP2_X11_TASKMNG_H__ */