未验证 提交 2bf18e0c 编写于 作者: O openharmony_ci 提交者: Gitee

!884 【OpenHarmony开源贡献者计划2022】add #ifndef UNUSED

Merge pull request !884 from rtos_ming/master
......@@ -45,7 +45,9 @@ typedef struct cmdLineInfo {
#define FILENAME_LEN_MAX 255
#define MS_UNIT 1000
#ifndef UNUSED
#define UNUSED(x) (void)(x)
#endif
#define PARAM_ALIGN(len) (((len) + 0x03) & (~0x03))
#define PARAM_ENTRY(ptr, type, member) (type *)((char *)(ptr)-offsetof(type, member))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册