diff src/filepath.c @ 18051:d1e77015f60b v8.1.2021

patch 8.1.2021: some global functions can be local to the file Commit: https://github.com/vim/vim/commit/840d16fd36bfd1a9fac8200e3dc016b1e3f9c328 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 10 21:27:18 2019 +0200 patch 8.1.2021: some global functions can be local to the file Problem: Some global functions can be local to the file. Solution: Add "static". (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/4917)
author Bram Moolenaar <Bram@vim.org>
date Tue, 10 Sep 2019 21:30:06 +0200
parents 5c8906f653f5
children c8a53c0daeed
line wrap: on
line diff
--- a/src/filepath.c
+++ b/src/filepath.c
@@ -793,7 +793,7 @@ f_filewritable(typval_T *argvars, typval
     rettv->vval.v_number = filewritable(tv_get_string(&argvars[0]));
 }
 
-    void
+    static void
 findfilendir(
     typval_T	*argvars UNUSED,
     typval_T	*rettv,