check C++ code with -Wmissing-declarations (#3184)

This commit is contained in:
Cebtenzzre
2023-09-15 15:38:27 -04:00
committed by GitHub
parent 69eb67e282
commit 3aefaab9e5
22 changed files with 247 additions and 243 deletions

View File

@@ -13,7 +13,7 @@
typedef int codepoint;
std::string codepoint_to_utf8(codepoint cp) {
static std::string codepoint_to_utf8(codepoint cp) {
std::string result;
if (0x00 <= cp && cp <= 0x7f) {
result.push_back(cp);