diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-04-05 18:56:05 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-04-05 18:56:05 +0200 |
commit | bdff012f4416c75e65950a19688533c4def5abf6 (patch) | |
tree | 46033295fed951cbb0243f92902247dbfcaacb38 /src/getchar.c | |
parent | 5d905c2b9612314f6d8616560800665056050adc (diff) | |
download | vim-git-bdff012f4416c75e65950a19688533c4def5abf6.tar.gz |
patch 8.2.0514: several global functions are used in only one filev8.2.0514
Problem: Several global functions are used in only one file.
Solution: Make the functions static. (Yegappan Lakshmanan, closes #5884)
Diffstat (limited to 'src/getchar.c')
-rw-r--r-- | src/getchar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/getchar.c b/src/getchar.c index 6b1068dda..7bbdf3583 100644 --- a/src/getchar.c +++ b/src/getchar.c @@ -99,7 +99,7 @@ static int inchar(char_u *buf, int maxlen, long wait_time); /* * Free and clear a buffer. */ - void + static void free_buff(buffheader_T *buf) { buffblock_T *p, *np; |