From e1f3a13a0a33a34de92aa1376dde812fe78257ff Mon Sep 17 00:00:00 2001 From: Martin Hans Date: Tue, 16 Jun 2020 15:15:26 -0700 Subject: [PATCH] Add missing static keyword GCC complains about a missing declaration for this function when compiled with `-Werror=missing-declarations`. Adding a static keyword here fixes that. --- docopt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docopt.cpp b/docopt.cpp index c2c2008..c6ee9b9 100644 --- a/docopt.cpp +++ b/docopt.cpp @@ -523,7 +523,7 @@ static PatternList parse_argv(Tokens tokens, std::vector