mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 9.0.1715: duplicate test in message_test.c
Problem: duplicate test in message_test.c Solution: Remove duplicate test and make functions static closes: #12803 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
This commit is contained in:
committed by
Christian Brabandt
parent
e4c79d3615
commit
7772c93a3e
@@ -2260,7 +2260,7 @@ enum
|
||||
|
||||
/* Types that can be used in a format string
|
||||
*/
|
||||
int
|
||||
static int
|
||||
format_typeof(
|
||||
const char *type,
|
||||
int usetvs UNUSED)
|
||||
@@ -2386,7 +2386,7 @@ format_typeof(
|
||||
return TYPE_UNKNOWN;
|
||||
}
|
||||
|
||||
char *
|
||||
static char *
|
||||
format_typename(
|
||||
const char *type)
|
||||
{
|
||||
@@ -2429,7 +2429,7 @@ format_typename(
|
||||
return _(typename_unknown);
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
adjust_types(
|
||||
const char ***ap_types,
|
||||
int arg,
|
||||
@@ -2490,7 +2490,7 @@ adjust_types(
|
||||
return OK;
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
parse_fmt_types(
|
||||
const char ***ap_types,
|
||||
int *num_posarg,
|
||||
@@ -2788,7 +2788,7 @@ error:
|
||||
return FAIL;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
skip_to_arg(
|
||||
const char **ap_types,
|
||||
va_list ap_start,
|
||||
|
Reference in New Issue
Block a user