Mercurial > vim
comparison src/proto/vim9script.pro @ 25567:0082503ff2ff v8.2.3320
patch 8.2.3320: some local functions are not static
Commit: https://github.com/vim/vim/commit/8ee52affe7fd4daa03e002bc06611f0a8c3bcd5b
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Mon Aug 9 19:59:06 2021 +0200
patch 8.2.3320: some local functions are not static
Problem: Some local functions are not static.
Solution: Add "static". Move snprintf() related code to strings.c.
(Yegappan Lakshmanan, closes #8734)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 09 Aug 2021 20:00:06 +0200 |
parents | 0a3b1c66d3f2 |
children | 15b54e0a576b |
comparison
equal
deleted
inserted
replaced
25566:e1c7aa26ddf5 | 25567:0082503ff2ff |
---|---|
9 void ex_export(exarg_T *eap); | 9 void ex_export(exarg_T *eap); |
10 void free_imports_and_script_vars(int sid); | 10 void free_imports_and_script_vars(int sid); |
11 void mark_imports_for_reload(int sid); | 11 void mark_imports_for_reload(int sid); |
12 void ex_import(exarg_T *eap); | 12 void ex_import(exarg_T *eap); |
13 int find_exported(int sid, char_u *name, ufunc_T **ufunc, type_T **type, cctx_T *cctx, int verbose); | 13 int find_exported(int sid, char_u *name, ufunc_T **ufunc, type_T **type, cctx_T *cctx, int verbose); |
14 char_u *handle_import(char_u *arg_start, garray_T *gap, int import_sid, evalarg_T *evalarg, void *cctx); | |
15 char_u *vim9_declare_scriptvar(exarg_T *eap, char_u *arg); | 14 char_u *vim9_declare_scriptvar(exarg_T *eap, char_u *arg); |
16 void update_vim9_script_var(int create, dictitem_T *di, int flags, typval_T *tv, type_T **type, int do_member); | 15 void update_vim9_script_var(int create, dictitem_T *di, int flags, typval_T *tv, type_T **type, int do_member); |
17 void hide_script_var(scriptitem_T *si, int idx, int func_defined); | 16 void hide_script_var(scriptitem_T *si, int idx, int func_defined); |
18 void free_all_script_vars(scriptitem_T *si); | |
19 svar_T *find_typval_in_script(typval_T *dest); | 17 svar_T *find_typval_in_script(typval_T *dest); |
20 int check_script_var_type(typval_T *dest, typval_T *value, char_u *name, where_T where); | 18 int check_script_var_type(typval_T *dest, typval_T *value, char_u *name, where_T where); |
21 int check_reserved_name(char_u *name); | 19 int check_reserved_name(char_u *name); |
22 /* vim: set ft=c : */ | 20 /* vim: set ft=c : */ |