updated for version 7.2-176
This commit is contained in:
@ -69,11 +69,7 @@ struct compl_S
|
|||||||
compl_T *cp_prev;
|
compl_T *cp_prev;
|
||||||
char_u *cp_str; /* matched text */
|
char_u *cp_str; /* matched text */
|
||||||
char cp_icase; /* TRUE or FALSE: ignore case */
|
char cp_icase; /* TRUE or FALSE: ignore case */
|
||||||
#ifdef S_SPLINT_S /* splint can't handle array of pointers */
|
|
||||||
char_u **cp_text; /* text for the menu */
|
|
||||||
#else
|
|
||||||
char_u *(cp_text[CPT_COUNT]); /* text for the menu */
|
char_u *(cp_text[CPT_COUNT]); /* text for the menu */
|
||||||
#endif
|
|
||||||
char_u *cp_fname; /* file containing the match, allocated when
|
char_u *cp_fname; /* file containing the match, allocated when
|
||||||
* cp_flags has FREE_FNAME */
|
* cp_flags has FREE_FNAME */
|
||||||
int cp_flags; /* ORIGINAL_TEXT, CONT_S_IPOS or FREE_FNAME */
|
int cp_flags; /* ORIGINAL_TEXT, CONT_S_IPOS or FREE_FNAME */
|
||||||
@ -3835,11 +3831,7 @@ ins_compl_add_tv(tv, dir)
|
|||||||
char_u *word;
|
char_u *word;
|
||||||
int icase = FALSE;
|
int icase = FALSE;
|
||||||
int adup = FALSE;
|
int adup = FALSE;
|
||||||
#ifdef S_SPLINT_S /* splint doesn't parse array of pointers correctly */
|
|
||||||
char_u **cptext;
|
|
||||||
#else
|
|
||||||
char_u *(cptext[CPT_COUNT]);
|
char_u *(cptext[CPT_COUNT]);
|
||||||
#endif
|
|
||||||
|
|
||||||
if (tv->v_type == VAR_DICT && tv->vval.v_dict != NULL)
|
if (tv->v_type == VAR_DICT && tv->vval.v_dict != NULL)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -5776,10 +5776,6 @@ find_help_tags(arg, num_matches, matches, keep_lang)
|
|||||||
{
|
{
|
||||||
char_u *s, *d;
|
char_u *s, *d;
|
||||||
int i;
|
int i;
|
||||||
#ifdef S_SPLINT_S /* splint doesn't understand array of pointers */
|
|
||||||
static char **mtable;
|
|
||||||
static char **rtable;
|
|
||||||
#else
|
|
||||||
static char *(mtable[]) = {"*", "g*", "[*", "]*", ":*",
|
static char *(mtable[]) = {"*", "g*", "[*", "]*", ":*",
|
||||||
"/*", "/\\*", "\"*", "**",
|
"/*", "/\\*", "\"*", "**",
|
||||||
"/\\(\\)",
|
"/\\(\\)",
|
||||||
@ -5794,7 +5790,6 @@ find_help_tags(arg, num_matches, matches, keep_lang)
|
|||||||
"/\\\\?", "/\\\\z(\\\\)", "\\\\=", ":s\\\\=",
|
"/\\\\?", "/\\\\z(\\\\)", "\\\\=", ":s\\\\=",
|
||||||
"\\[count]", "\\[quotex]", "\\[range]",
|
"\\[count]", "\\[quotex]", "\\[range]",
|
||||||
"\\[pattern]", "\\\\bar", "/\\\\%\\$"};
|
"\\[pattern]", "\\\\bar", "/\\\\%\\$"};
|
||||||
#endif
|
|
||||||
int flags;
|
int flags;
|
||||||
|
|
||||||
d = IObuff; /* assume IObuff is long enough! */
|
d = IObuff; /* assume IObuff is long enough! */
|
||||||
|
|||||||
@ -9395,13 +9395,7 @@ find_cmdline_var(src, usedlen)
|
|||||||
{
|
{
|
||||||
int len;
|
int len;
|
||||||
int i;
|
int i;
|
||||||
#ifdef S_SPLINT_S /* splint can't handle array of pointers */
|
static char *(spec_str[]) = {
|
||||||
static char **spec_str;
|
|
||||||
static char *(nospec_str[])
|
|
||||||
#else
|
|
||||||
static char *(spec_str[])
|
|
||||||
#endif
|
|
||||||
= {
|
|
||||||
"%",
|
"%",
|
||||||
#define SPEC_PERC 0
|
#define SPEC_PERC 0
|
||||||
"#",
|
"#",
|
||||||
|
|||||||
@ -199,9 +199,7 @@ static int save_patterns __ARGS((int num_pat, char_u **pat, int *num_file, char_
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef SIG_ERR
|
#ifndef SIG_ERR
|
||||||
# ifndef S_SPLINT_S
|
|
||||||
# define SIG_ERR ((RETSIGTYPE (*)())-1)
|
# define SIG_ERR ((RETSIGTYPE (*)())-1)
|
||||||
# endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* volatile because it is used in signal handler sig_winch(). */
|
/* volatile because it is used in signal handler sig_winch(). */
|
||||||
@ -443,10 +441,8 @@ mch_char_avail()
|
|||||||
|
|
||||||
#if defined(HAVE_TOTAL_MEM) || defined(PROTO)
|
#if defined(HAVE_TOTAL_MEM) || defined(PROTO)
|
||||||
# ifdef HAVE_SYS_RESOURCE_H
|
# ifdef HAVE_SYS_RESOURCE_H
|
||||||
# ifndef S_SPLINT_S /* splint crashes on bits/resource.h */
|
|
||||||
# include <sys/resource.h>
|
# include <sys/resource.h>
|
||||||
# endif
|
# endif
|
||||||
# endif
|
|
||||||
# if defined(HAVE_SYS_SYSCTL_H) && defined(HAVE_SYSCTL)
|
# if defined(HAVE_SYS_SYSCTL_H) && defined(HAVE_SYSCTL)
|
||||||
# include <sys/sysctl.h>
|
# include <sys/sysctl.h>
|
||||||
# endif
|
# endif
|
||||||
|
|||||||
@ -53,9 +53,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_UNISTD_H
|
#ifdef HAVE_UNISTD_H
|
||||||
# ifndef S_SPLINT_S /* splint crashes on bits/confname.h */
|
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
# endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_LIBC_H
|
#ifdef HAVE_LIBC_H
|
||||||
|
|||||||
@ -1646,11 +1646,7 @@ struct tabpage_S
|
|||||||
#endif
|
#endif
|
||||||
#ifdef FEAT_DIFF
|
#ifdef FEAT_DIFF
|
||||||
diff_T *tp_first_diff;
|
diff_T *tp_first_diff;
|
||||||
# ifdef S_SPLINT_S /* splint doesn't understand the array of pointers */
|
|
||||||
buf_T **tp_diffbuf;
|
|
||||||
# else
|
|
||||||
buf_T *(tp_diffbuf[DB_COUNT]);
|
buf_T *(tp_diffbuf[DB_COUNT]);
|
||||||
# endif
|
|
||||||
int tp_diff_invalid; /* list of diffs is outdated */
|
int tp_diff_invalid; /* list of diffs is outdated */
|
||||||
#endif
|
#endif
|
||||||
frame_T *tp_snapshot; /* window layout snapshot */
|
frame_T *tp_snapshot; /* window layout snapshot */
|
||||||
|
|||||||
@ -96,11 +96,7 @@ enum SpecialKey
|
|||||||
* - there should be code in term.c to obtain the value from the termcap
|
* - there should be code in term.c to obtain the value from the termcap
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef S_SPLINT_S /* splint doesn't understand array of pointers */
|
|
||||||
extern char_u **term_strings; /* current terminal strings */
|
|
||||||
#else
|
|
||||||
extern char_u *(term_strings[]); /* current terminal strings */
|
extern char_u *(term_strings[]); /* current terminal strings */
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* strings used for terminal
|
* strings used for terminal
|
||||||
|
|||||||
@ -676,6 +676,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 */
|
||||||
|
/**/
|
||||||
|
176,
|
||||||
/**/
|
/**/
|
||||||
175,
|
175,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user