patch 8.2.0514: several global functions are used in only one file

Problem:    Several global functions are used in only one file.
Solution:   Make the functions static. (Yegappan Lakshmanan, closes #5884)
diff --git a/src/getchar.c b/src/getchar.c
index 6b1068d..7bbdf35 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -99,7 +99,7 @@
 /*
  * Free and clear a buffer.
  */
-    void
+    static void
 free_buff(buffheader_T *buf)
 {
     buffblock_T	*p, *np;