From f22de1c03eb60c189e996f6ebc7afb7b552c3abf Mon Sep 17 00:00:00 2001 From: liutuantuan Date: Wed, 29 May 2024 09:51:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89static=E9=9D=99=E6=80=81?= =?UTF-8?q?=E5=91=8A=E8=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liutuantuan --- include/syscap_tool.h | 2 +- src/syscap_tool.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/syscap_tool.h b/include/syscap_tool.h index e383c27..a606e32 100644 --- a/include/syscap_tool.h +++ b/include/syscap_tool.h @@ -32,7 +32,7 @@ int32_t PCIDEncode(char *inputFile, char *outputPath); /* in: inputFile, file name format: .sc, out: outputPath/.json */ int32_t PCIDDecode(char *inputFile, char *outputPath); /* in: inputFile, out: outputPath/rpcid.sc */ -static int32_t RPCIDEncode(char *inputFile, char *outputPath); +int32_t RPCIDEncode(char *inputFile, char *outputPath); /* in: inputFile, out: outputPath/rpcid.json */ int32_t RPCIDDecode(char *inputFile, char *outputPath); /* in: inputFile, out: outputPath/rpcid.json */ diff --git a/src/syscap_tool.c b/src/syscap_tool.c index 5322170..c5c0978 100644 --- a/src/syscap_tool.c +++ b/src/syscap_tool.c @@ -133,7 +133,7 @@ static int32_t FreeAfterRPCIDEncode( return ret; } -static int32_t RPCIDEncode(char *inputFile, char *outputPath) +int32_t RPCIDEncode(char *inputFile, char *outputPath) { char *contextBuffer = NULL; uint32_t bufferLen, sysCapSize;