Mercurial > vim
comparison src/textprop.c @ 17789:0f7ae8010787 v8.1.1891
patch 8.1.1891: functions used in one file are global
commit https://github.com/vim/vim/commit/5843f5f37b0632e2d706abc9014bfd7d98f7b02e
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Aug 20 20:13:45 2019 +0200
patch 8.1.1891: functions used in one file are global
Problem: Functions used in one file are global.
Solution: Add "static". (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/4840)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 20 Aug 2019 20:15:07 +0200 |
parents | 6f9cde96ee3c |
children | 08f1dd29550e |
comparison
equal
deleted
inserted
replaced
17788:2cf6b7b53b1d | 17789:0f7ae8010787 |
---|---|
666 } | 666 } |
667 | 667 |
668 /* | 668 /* |
669 * Common for f_prop_type_add() and f_prop_type_change(). | 669 * Common for f_prop_type_add() and f_prop_type_change(). |
670 */ | 670 */ |
671 void | 671 static void |
672 prop_type_set(typval_T *argvars, int add) | 672 prop_type_set(typval_T *argvars, int add) |
673 { | 673 { |
674 char_u *name; | 674 char_u *name; |
675 buf_T *buf = NULL; | 675 buf_T *buf = NULL; |
676 dict_T *dict; | 676 dict_T *dict; |