forked from aniani/vim
updated for version 7.4.339
Problem: Local function is available globally. Solution: Add "static".
This commit is contained in:
@@ -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_scope __ARGS((struct vimoption *p, int opt_flags));
|
||||||
static char_u *get_varp __ARGS((struct vimoption *));
|
static char_u *get_varp __ARGS((struct vimoption *));
|
||||||
static void option_value2string __ARGS((struct vimoption *, int opt_flags));
|
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));
|
static int wc_use_keyname __ARGS((char_u *varp, long *wcp));
|
||||||
#ifdef FEAT_LANGMAP
|
#ifdef FEAT_LANGMAP
|
||||||
static void langmap_init __ARGS((void));
|
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.
|
* Check for NULL pointers in a winopt_T and replace them with empty_option.
|
||||||
*/
|
*/
|
||||||
void
|
static void
|
||||||
check_winopt(wop)
|
check_winopt(wop)
|
||||||
winopt_T *wop UNUSED;
|
winopt_T *wop UNUSED;
|
||||||
{
|
{
|
||||||
|
@@ -40,7 +40,6 @@ char_u *get_equalprg __ARGS((void));
|
|||||||
void win_copy_options __ARGS((win_T *wp_from, win_T *wp_to));
|
void win_copy_options __ARGS((win_T *wp_from, win_T *wp_to));
|
||||||
void copy_winopt __ARGS((winopt_T *from, winopt_T *to));
|
void copy_winopt __ARGS((winopt_T *from, winopt_T *to));
|
||||||
void check_win_options __ARGS((win_T *win));
|
void check_win_options __ARGS((win_T *win));
|
||||||
void check_winopt __ARGS((winopt_T *wop));
|
|
||||||
void clear_winopt __ARGS((winopt_T *wop));
|
void clear_winopt __ARGS((winopt_T *wop));
|
||||||
void buf_copy_options __ARGS((buf_T *buf, int flags));
|
void buf_copy_options __ARGS((buf_T *buf, int flags));
|
||||||
void reset_modifiable __ARGS((void));
|
void reset_modifiable __ARGS((void));
|
||||||
|
@@ -734,6 +734,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
339,
|
||||||
/**/
|
/**/
|
||||||
338,
|
338,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user