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:
committed by
Bram Moolenaar
parent
eed9616120
commit
8ee52affe7
@@ -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;
|
||||
|
Reference in New Issue
Block a user