modify for coding style.

Signed-off-by: yudechen <chenyude@huawei.com>
Change-Id: I741db340849990f6925020f894b7ac148ac94e46
This commit is contained in:
yudechen
2022-07-11 18:38:24 +08:00
parent a368a93a5b
commit 898ed7d2a0
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -378,7 +378,7 @@ FREE_SYSCAP_OUT:
return ret; return ret;
} }
static int32_t CheckRpcidFormat(const char *inputFile, char **buffer, uint32_t *Len) static int32_t CheckRpcidFormat(const char *inputFile, char **buffer, uint32_t *len)
{ {
uint32_t bufferLen; uint32_t bufferLen;
uint16_t sysCaptype, sysCapLength; uint16_t sysCaptype, sysCapLength;
@@ -410,7 +410,7 @@ static int32_t CheckRpcidFormat(const char *inputFile, char **buffer, uint32_t *
} }
*buffer = contextBuffer; *buffer = contextBuffer;
*Len = bufferLen; *len = bufferLen;
return 0; return 0;
} }
+1 -1
View File
@@ -569,7 +569,7 @@ int32_t SeparateSyscapFromString(const char *inputString, uint32_t *osArray, uin
{ {
int32_t ret = 0; int32_t ret = 0;
uint32_t i; uint32_t i;
uint32_t inputLen = strlen(inputString); size_t inputLen = strlen(inputString);
uint32_t count = 0; uint32_t count = 0;
char *temp = NULL; char *temp = NULL;
char *tok = NULL; char *tok = NULL;