Mercurial > vim
comparison src/proto/charset.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 | 77bcb5055fec |
children | c4bce986c31a |
comparison
equal
deleted
inserted
replaced
17788:2cf6b7b53b1d | 17789:0f7ae8010787 |
---|---|
27 int vim_isprintc(int c); | 27 int vim_isprintc(int c); |
28 int vim_isprintc_strict(int c); | 28 int vim_isprintc_strict(int c); |
29 int lbr_chartabsize(char_u *line, unsigned char *s, colnr_T col); | 29 int lbr_chartabsize(char_u *line, unsigned char *s, colnr_T col); |
30 int lbr_chartabsize_adv(char_u *line, char_u **s, colnr_T col); | 30 int lbr_chartabsize_adv(char_u *line, char_u **s, colnr_T col); |
31 int win_lbr_chartabsize(win_T *wp, char_u *line, char_u *s, colnr_T col, int *headp); | 31 int win_lbr_chartabsize(win_T *wp, char_u *line, char_u *s, colnr_T col, int *headp); |
32 int in_win_border(win_T *wp, colnr_T vcol); | |
33 void getvcol(win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, colnr_T *end); | 32 void getvcol(win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, colnr_T *end); |
34 colnr_T getvcol_nolist(pos_T *posp); | 33 colnr_T getvcol_nolist(pos_T *posp); |
35 void getvvcol(win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, colnr_T *end); | 34 void getvvcol(win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, colnr_T *end); |
36 void getvcols(win_T *wp, pos_T *pos1, pos_T *pos2, colnr_T *left, colnr_T *right); | 35 void getvcols(win_T *wp, pos_T *pos1, pos_T *pos2, colnr_T *left, colnr_T *right); |
37 char_u *skipwhite(char_u *q); | 36 char_u *skipwhite(char_u *q); |