mirror of
https://github.com/openharmony/developtools_syscap_codec.git
synced 2026-08-27 02:11:19 -04:00
@@ -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 <stdint.h>
|
||||
|
||||
@@ -48,4 +48,4 @@ int32_t SeparateSyscapFromString(const char *inputString, uint32_t *osArray, uin
|
||||
#endif /* __cplusplus */
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* _SYSCAP_TOOL_H */
|
||||
#endif /* SYSCAP_TOOL_H */
|
||||
+2
-2
@@ -335,7 +335,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;
|
||||
@@ -367,7 +367,7 @@ static int32_t CheckRpcidFormat(char *inputFile, char **buffer, uint32_t *Len)
|
||||
}
|
||||
|
||||
*buffer = contextBuffer;
|
||||
*Len = bufferLen;
|
||||
*len = bufferLen;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user