Mercurial > vim
diff src/proto/vim9compile.pro @ 27032:18cafa092e8d v8.2.4045
patch 8.2.4045: some global functions are only used in one file
Commit: https://github.com/vim/vim/commit/782b43d89473dac00e3a8e02224a8330b88dbfef
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Sat Jan 8 18:43:40 2022 +0000
patch 8.2.4045: some global functions are only used in one file
Problem: Some global functions are only used in one file.
Solution: Make the functions static. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/9492)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 08 Jan 2022 19:45:03 +0100 |
parents | 4b23672d1f0e |
children | 15f40772e10a |
line wrap: on
line diff
--- a/src/proto/vim9compile.pro +++ b/src/proto/vim9compile.pro @@ -8,7 +8,6 @@ int need_type(type_T *actual, type_T *ex lvar_T *reserve_local(cctx_T *cctx, char_u *name, size_t len, int isConst, type_T *type); int get_script_item_idx(int sid, char_u *name, int check_writable, cctx_T *cctx); imported_T *find_imported(char_u *name, size_t len, cctx_T *cctx); -imported_T *find_imported_in_script(char_u *name, size_t len, int sid); char_u *may_peek_next_line(cctx_T *cctx, char_u *arg, char_u **nextp); char_u *peek_next_line_from_context(cctx_T *cctx); char_u *next_line_from_context(cctx_T *cctx, int skip_comment);