0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.3320: some local functions are not static

Problem:    Some local functions are not static.
Solution:   Add "static".  Move snprintf() related code to strings.c.
            (Yegappan Lakshmanan, closes #8734)
This commit is contained in:
Yegappan Lakshmanan
2021-08-09 19:59:06 +02:00
committed by Bram Moolenaar
parent eed9616120
commit 8ee52affe7
31 changed files with 1303 additions and 1327 deletions

View File

@@ -1012,7 +1012,7 @@ generate_SETTYPE(
* Return TRUE if "actual" could be "expected" and a runtime typecheck is to be
* used. Return FALSE if the types will never match.
*/
int
static int
use_typecheck(type_T *actual, type_T *expected)
{
if (actual->tt_type == VAR_ANY
@@ -3579,7 +3579,7 @@ theend:
* Return a pointer to just after the name. Equal to "arg" if there is no
* valid name.
*/
char_u *
static char_u *
to_name_end(char_u *arg, int use_namespace)
{
char_u *p;