--- np2/x11/debug/viewmem.h 2003/12/11 15:11:56 1.1 +++ np2/x11/debug/viewmem.h 2011/01/15 19:16:59 1.2 @@ -1,14 +1,10 @@ #if defined(SUPPORT_VIEWER) -#ifdef __cplusplus -extern "C" { -#endif +G_BEGIN_DECLS void viewmem_read(VIEWMEM_T *cfg, UINT32 adrs, BYTE *buf, UINT32 size); void viewmem_write(VIEWMEM_T *cfg, UINT32 adrs, BYTE *buf, UINT32 size); -#ifdef __cplusplus -} -#endif +G_END_DECLS #endif