mirror of
https://github.com/openharmony/developtools_syscap_codec.git
synced 2026-08-27 02:11:19 -04:00
fix codecheck "Macros are not allowed to represent constants."
Signed-off-by: yudechen <chenyude@huawei.com> Change-Id: Ie404cb92ad5618e4bea3408e4ffd4ae0dd6bb6f0
This commit is contained in:
@@ -24,9 +24,9 @@
|
||||
|
||||
namespace OHOS {
|
||||
EXTERN_C_START
|
||||
#define OS_SYSCAP_U32_NUM 30
|
||||
#define U32_TO_STR_MAX_LEN 11
|
||||
#define SYSCAP_STR_MAX_LEN 128
|
||||
const int OS_SYSCAP_U32_NUM = 30;
|
||||
const int U32_TO_STR_MAX_LEN = 11;
|
||||
const int SYSCAP_STR_MAX_LEN = 128;
|
||||
|
||||
#define PRINT_ERR(...) \
|
||||
do { \
|
||||
|
||||
Reference in New Issue
Block a user