0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.1.0785: depending on the configuration some functions are unused

Problem:    Depending on the configuration some functions are unused.
Solution:   Add more #ifdefs, remove unused functions. (Dominique Pelle,
            closes #3822)
This commit is contained in:
Bram Moolenaar
2019-01-20 15:30:40 +01:00
parent 1f20daa1d7
commit 113e10721f
28 changed files with 88 additions and 52 deletions

View File

@@ -10699,6 +10699,7 @@ comp_col(void)
#endif
}
#if defined(FEAT_PYTHON) || defined(FEAT_PYTHON3) || defined(PROTO)
/*
* Unset local option value, similar to ":set opt<".
*/
@@ -10800,6 +10801,7 @@ unset_global_local_option(char_u *name, void *from)
#endif
}
}
#endif
/*
* Get pointer to option variable, depending on local or global scope.
@@ -13122,6 +13124,7 @@ tabstop_eq(int *ts1, int *ts2)
return TRUE;
}
#if defined(FEAT_BEVAL) || defined(PROTO)
/*
* Copy a tabstop array, allocating space for the new array.
*/
@@ -13140,6 +13143,7 @@ tabstop_copy(int *oldts)
return newts;
}
#endif
/*
* Return a count of the number of tabstops.