Fix a bunch of compiler warnings (mainly MinGW).

This commit is contained in:
Erik de Castro Lopo
2013-04-07 13:44:33 +10:00
parent 6a9a18ff7a
commit b9574fe589
7 changed files with 22 additions and 20 deletions

View File

@@ -359,7 +359,7 @@ static struct inverse_map *make_inverse_map(const unsigned short *from)
return to;
}
int wctomb_8bit(void *map1, char *s, int wc1)
static int wctomb_8bit(void *map1, char *s, int wc1)
{
struct map *map = map1;
unsigned short wc = wc1;