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; }