Mercurial > vim
comparison src/proto/json.pro @ 17789:0f7ae8010787 v8.1.1891
patch 8.1.1891: functions used in one file are global
commit https://github.com/vim/vim/commit/5843f5f37b0632e2d706abc9014bfd7d98f7b02e
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Aug 20 20:13:45 2019 +0200
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 https://github.com/vim/vim/issues/4840)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 20 Aug 2019 20:15:07 +0200 |
parents | dfd87ef822aa |
children | 85b07a942518 |
comparison
equal
deleted
inserted
replaced
17788:2cf6b7b53b1d | 17789:0f7ae8010787 |
---|---|
1 /* json.c */ | 1 /* json.c */ |
2 char_u *json_encode(typval_T *val, int options); | 2 char_u *json_encode(typval_T *val, int options); |
3 char_u *json_encode_nr_expr(int nr, typval_T *val, int options); | 3 char_u *json_encode_nr_expr(int nr, typval_T *val, int options); |
4 int json_decode_all(js_read_T *reader, typval_T *res, int options); | |
5 int json_decode(js_read_T *reader, typval_T *res, int options); | 4 int json_decode(js_read_T *reader, typval_T *res, int options); |
6 int json_find_end(js_read_T *reader, int options); | 5 int json_find_end(js_read_T *reader, int options); |
7 void f_js_decode(typval_T *argvars, typval_T *rettv); | 6 void f_js_decode(typval_T *argvars, typval_T *rettv); |
8 void f_js_encode(typval_T *argvars, typval_T *rettv); | 7 void f_js_encode(typval_T *argvars, typval_T *rettv); |
9 void f_json_decode(typval_T *argvars, typval_T *rettv); | 8 void f_json_decode(typval_T *argvars, typval_T *rettv); |