summaryrefslogtreecommitdiff
path: root/src/filepath.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-09-10 21:27:18 +0200
committerBram Moolenaar <Bram@vim.org>2019-09-10 21:27:18 +0200
commit840d16fd36bfd1a9fac8200e3dc016b1e3f9c328 (patch)
treee0b85aeb6c3da97a0f8096ef934372f9b297ba7b /src/filepath.c
parentd20dcb3d011da6111153109f6e46fbd5c7fe9fb6 (diff)
downloadvim-git-840d16fd36bfd1a9fac8200e3dc016b1e3f9c328.tar.gz
patch 8.1.2021: some global functions can be local to the filev8.1.2021
Problem: Some global functions can be local to the file. Solution: Add "static". (Yegappan Lakshmanan, closes #4917)
Diffstat (limited to 'src/filepath.c')
-rw-r--r--src/filepath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filepath.c b/src/filepath.c
index 811682e37..5ffb8c9b4 100644
--- a/src/filepath.c
+++ b/src/filepath.c
@@ -793,7 +793,7 @@ f_filewritable(typval_T *argvars, typval_T *rettv)
rettv->vval.v_number = filewritable(tv_get_string(&argvars[0]));
}
- void
+ static void
findfilendir(
typval_T *argvars UNUSED,
typval_T *rettv,