bootstrappable: char foo[][].

This commit is contained in:
Jan Nieuwenhuizen 2017-07-23 22:36:48 +02:00
parent 1770c2f008
commit bd04408eff
2 changed files with 2 additions and 2 deletions

View File

@ -2890,7 +2890,7 @@ static int ld_next(TCCState *s1, char *name, int name_size)
return c;
}
static int ld_add_file(TCCState *s1, const char filename[])
static int ld_add_file(TCCState *s1, char const* filename)
{
if (filename[0] == '/') {
if (CONFIG_SYSROOT[0] == '\0'

View File

@ -3048,7 +3048,7 @@ static int *macro_arg_subst(Sym **nested_list, const int *macro_str, Sym *args)
return str.str;
}
static char const ab_month_name[12][4] =
static char const *ab_month_name[12] =
{
"Jan", "Feb", "Mar", "Apr", "May", "Jun",
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"