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

@@ -220,13 +220,11 @@ static char *posixly_correct;
whose names are inconsistent. */
#ifndef getenv
extern char *getenv ();
extern char *getenv (const char * name);
#endif
static char *
my_index (str, chr)
const char *str;
int chr;
my_index (const char *str, int chr)
{
while (*str)
{