mirror of
https://github.com/openharmony/developtools_syscap_codec.git
synced 2026-08-28 04:40:02 -04:00
change global variable arraySyscap to g_arraySyscap.
Signed-off-by: yudechen <chenyude@huawei.com> Change-Id: Ia723dfc0bb1d78500e57ae823f33978c81ebd36b
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
#define SINGLE_SYSCAP_LEN (256 + 17)
|
||||
|
||||
typedef struct SystemCapabilityWithNum {
|
||||
char syscapStr[SINGLE_SYSCAP_LEN];
|
||||
char str[SINGLE_SYSCAP_LEN];
|
||||
uint16_t num;
|
||||
} SyscapWithNum;
|
||||
|
||||
@@ -181,7 +181,7 @@ typedef enum SystemCapabilityNum {
|
||||
} SyscapNum;
|
||||
|
||||
/* sort by enum */
|
||||
const static SyscapWithNum arraySyscap[] = {
|
||||
const static SyscapWithNum g_arraySyscap[] = {
|
||||
{"SystemCapability.Account.AppAccount", ACCOUNT_APPACCOUNT},
|
||||
{"SystemCapability.Account.OsAccount", ACCOUNT_OSACCOUNT},
|
||||
{"SystemCapability.Ace.UiAppearance", ACE_UIAPPEARANCE},
|
||||
|
||||
Reference in New Issue
Block a user