patch 8.1.1891: functions used in one file are global

Problem:    Functions used in one file are global.
Solution:   Add "static". (Yegappan Lakshmanan, closes #4840)
diff --git a/src/json.c b/src/json.c
index 2a5b5e4..cca6f70 100644
--- a/src/json.c
+++ b/src/json.c
@@ -1056,7 +1056,7 @@
  * "options" can be JSON_JS or zero;
  * Return FAIL if not the whole message was consumed.
  */
-    int
+    static int
 json_decode_all(js_read_T *reader, typval_T *res, int options)
 {
     int ret;