diff --git a/arch/xtensa/lx6/gcc/los_arch_regs.h b/arch/xtensa/lx6/gcc/los_arch_regs.h index 1d730be547eac24e98b6a4f591a42a8352911dd1..3aa7d3023f9ac6c50b3400cd954d596cbfff56ea 100644 --- a/arch/xtensa/lx6/gcc/los_arch_regs.h +++ b/arch/xtensa/lx6/gcc/los_arch_regs.h @@ -163,16 +163,6 @@ extern "C" { #define LEVEL4 4 #define LEVEL5 5 -#ifdef YES -#undef YES -#endif -#define YES 1 - -#ifdef NO -#undef NO -#endif -#define NO 0 - #ifdef __cplusplus #if __cplusplus } diff --git a/testsuites/include/los_dlinkmem.h b/testsuites/include/los_dlinkmem.h index a9788436083972639055a185d03180a3e7198714..d4f7cdd5a37c1ea2e144c665639ff7bc3f03bf49 100644 --- a/testsuites/include/los_dlinkmem.h +++ b/testsuites/include/los_dlinkmem.h @@ -38,7 +38,7 @@ extern "C" { #endif /* __cplusplus */ #endif /* __cplusplus */ -#if (OS_SYS_MEM_CHECK == YES) +#if (OS_SYS_MEM_CHECK == 1) #define LOS_DLNK_ENABLE_ALLOC_CHECK #endif @@ -82,7 +82,7 @@ typedef struct tagLOS_DLNK_NODE { * @param pool [IN] Starting address of memory. * @param size [IN] Memory size. * - * @retval #OS_ERROR ¨C1: The dynamic memory fails to be initialized. + * @retval #OS_ERROR �C1: The dynamic memory fails to be initialized. * @retval #LOS_OK 0: The dynamic memory is successfully initialized. * @par Dependency: *