Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.

This commit is contained in:
rsc 2006-04-01 19:24:03 +00:00
parent 226d80b821
commit cbeb0b26e4
492 changed files with 3218 additions and 3167 deletions

View file

@ -13,7 +13,7 @@ enum
* tokens
*/
Word = 1,
QString,
QString
};
#define UlongMax 4294967295UL

View file

@ -152,7 +152,7 @@ parseuri(HConnect *c, char *uri)
/*
* anything starting with // is a host name or number
* hostnames constists of letters, digits, - and .
* hostnames consists of letters, digits, - and .
* for now, just ignore any port given
*/
if(uri[0] == '/' && uri[1] == '/'){