diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-06-25 14:44:10 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-06-25 14:44:10 +0200 |
commit | 8dc907d7d30c9f60f14f197e99f2f62001dd09f0 (patch) | |
tree | 1a1192f42bcabe0b2ee1f1f350ba16acb76a5a8e /src/option.c | |
parent | 597a422416f37f8e22ed8f561667d6bab8814958 (diff) | |
download | vim-8dc907d7d30c9f60f14f197e99f2f62001dd09f0.zip |
updated for version 7.4.339
Problem: Local function is available globally.
Solution: Add "static".
Diffstat (limited to 'src/option.c')
-rw-r--r-- | src/option.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/option.c b/src/option.c index 05dc992d9..05d8869ea 100644 --- a/src/option.c +++ b/src/option.c @@ -3074,6 +3074,7 @@ static int istermoption __ARGS((struct vimoption *)); static char_u *get_varp_scope __ARGS((struct vimoption *p, int opt_flags)); static char_u *get_varp __ARGS((struct vimoption *)); static void option_value2string __ARGS((struct vimoption *, int opt_flags)); +static void check_winopt __ARGS((winopt_T *wop)); static int wc_use_keyname __ARGS((char_u *varp, long *wcp)); #ifdef FEAT_LANGMAP static void langmap_init __ARGS((void)); @@ -10305,7 +10306,7 @@ check_win_options(win) /* * Check for NULL pointers in a winopt_T and replace them with empty_option. */ - void + static void check_winopt(wop) winopt_T *wop UNUSED; { |