From 54c3aae395a74dffa44bd6f5088c4dbb5aa44443 Mon Sep 17 00:00:00 2001 From: yudechen Date: Sat, 27 May 2023 15:37:17 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E7=A0=81=E8=A7=84=E8=8C=83=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yudechen Change-Id: If180ec07e8b1d3ee9bdc2cc7b7d7be1fae2b90ff --- include/syscap_tool.h | 6 +++--- src/syscap_tool.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/syscap_tool.h b/include/syscap_tool.h index d485c9b..a606e32 100644 --- a/include/syscap_tool.h +++ b/include/syscap_tool.h @@ -13,8 +13,8 @@ * limitations under the License. */ -#ifndef _SYSCAP_TOOL_H -#define _SYSCAP_TOOL_H +#ifndef SYSCAP_TOOL_H +#define SYSCAP_TOOL_H #include @@ -48,4 +48,4 @@ int32_t SeparateSyscapFromString(const char *inputString, uint32_t *osArray, uin #endif /* __cplusplus */ #endif /* __cplusplus */ -#endif /* _SYSCAP_TOOL_H */ \ No newline at end of file +#endif /* SYSCAP_TOOL_H */ \ No newline at end of file diff --git a/src/syscap_tool.c b/src/syscap_tool.c index 4697046..38f2e9a 100644 --- a/src/syscap_tool.c +++ b/src/syscap_tool.c @@ -330,7 +330,7 @@ FREE_SYSCAP_OUT: return ret; } -static int32_t CheckRpcidFormat(char *inputFile, char **buffer, uint32_t *Len) +static int32_t CheckRpcidFormat(char *inputFile, char **buffer, uint32_t *len) { uint32_t bufferLen; uint16_t sysCaptype, sysCapLength; @@ -362,7 +362,7 @@ static int32_t CheckRpcidFormat(char *inputFile, char **buffer, uint32_t *Len) } *buffer = contextBuffer; - *Len = bufferLen; + *len = bufferLen; return 0; }