vim-patch:7.4.339

Problem:    Local function is available globally.
Solution:   Add "static".

https://code.google.com/p/vim/source/detail?r=v7-4-339
This commit is contained in:
André Twupack 2014-08-21 19:52:10 +02:00
parent 51ae9c6437
commit 5f3e677e21
2 changed files with 2 additions and 2 deletions

View File

@ -6850,7 +6850,7 @@ void check_win_options(win_T *win)
/*
* Check for NULL pointers in a winopt_T and replace them with empty_option.
*/
void check_winopt(winopt_T *wop)
static void check_winopt(winopt_T *wop)
{
check_string_option(&wop->wo_fdi);
check_string_option(&wop->wo_fdm);

View File

@ -256,7 +256,7 @@ static int included_patches[] = {
//342 NA
//341,
//340 NA
//339,
339,
338,
//337,
//336,