提交 05b07a29 编写于 作者: Y yinjiaming

fixed ebc3f305 from https://gitee.com/hgbveiu743/kernel_liteos_a/pulls/1089

fix:修复codecheck扫描出的告警
给宏定义中的参数加上了括号,删除了多余的函数声明
Signed-off-by: Nyinjiaming <yinjiaming@huawei.com>
Change-Id: I8853f6a9717ede96578cd674b83b716c8e63f0d8
上级 2bef6504
......@@ -56,7 +56,7 @@
#define TEST_HwiTrigger(HWI_NUM_TEST)
#define LOS_TaskLock()
#define LOS_TaskUnlock()
#define LOS_MS2Tick(ms) (ms / 10)
#define LOS_MS2Tick(ms) ((ms) / 10)
#define OS_TASK_PRIORITY_HIGHEST 0
#define OS_TASK_PRIORITY_LOWEST 31
......@@ -228,12 +228,7 @@ struct testdata {
};
extern struct testdata g_td;
extern unsigned int sleep(unsigned int seconds);
extern unsigned int alarm(unsigned int seconds);
extern int map_errno(UINT32 err);
extern long sysconf(int name);
extern void posix_signal_start(void);
VOID ScenarInit(VOID);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册