summaryrefslogtreecommitdiffstats
path: root/src/getchar.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-04-05 18:56:05 +0200
committerBram Moolenaar <Bram@vim.org>2020-04-05 18:56:05 +0200
commitbdff012f4416c75e65950a19688533c4def5abf6 (patch)
tree46033295fed951cbb0243f92902247dbfcaacb38 /src/getchar.c
parent5d905c2b9612314f6d8616560800665056050adc (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/getchar.c b/src/getchar.c
index 6b1068dda8..7bbdf35834 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;