From 0e88d5e40448616ede258be29e6e337eb99aa104 Mon Sep 17 00:00:00 2001 From: Albert Hung Date: Wed, 3 May 2023 09:54:12 +0800 Subject: [PATCH] Eliminate missing prototypes warning --- test/unittest/cursorstreamwrappertest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unittest/cursorstreamwrappertest.cpp b/test/unittest/cursorstreamwrappertest.cpp index dad3359..49e3d5e 100644 --- a/test/unittest/cursorstreamwrappertest.cpp +++ b/test/unittest/cursorstreamwrappertest.cpp @@ -20,7 +20,7 @@ using namespace rapidjson; // static const char json[] = "{\"string\"\n\n:\"my string\",\"array\"\n:[\"1\", \"2\", \"3\"]}"; -bool testJson(const char *json, size_t &line, size_t &col) { +static bool testJson(const char *json, size_t &line, size_t &col) { StringStream ss(json); CursorStreamWrapper csw(ss); Document document;