From 33d978f9afce4f2b8e1715d9585389571315043a Mon Sep 17 00:00:00 2001 From: yudechen Date: Fri, 18 Mar 2022 15:03:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E5=A4=9A=E4=BD=99=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yudechen Change-Id: Ie72b7a652dc5984d778cdccb5fbbcea0a7d347b2 --- src/main.c | 2 -- test/syscap_tool_test.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/main.c b/src/main.c index 0aec356..339b1ba 100755 --- a/src/main.c +++ b/src/main.c @@ -21,8 +21,6 @@ #include #include "syscap_tool.h" -extern char *optarg; - int main(int argc, char **argv) { int32_t ret, optIndex; diff --git a/test/syscap_tool_test.c b/test/syscap_tool_test.c index c92be59..1215ad6 100755 --- a/test/syscap_tool_test.c +++ b/test/syscap_tool_test.c @@ -24,8 +24,6 @@ #include #include "syscap_tool.h" -extern char *optarg; - char *g_testFilePcid = "{\n \"api_version\": 0,\n \"manufacturer_id\": 0,\n \"product\": \"rk3568\",\n" \ " \"syscap\": {\n \"os\": [\n \"SystemCapability.Account.AppAccount\",\n" \ " \"SystemCapability.Account.OsAccount\"\n ]\n },\n" \ -- Gitee