Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.
This commit is contained in:
parent
226d80b821
commit
cbeb0b26e4
492 changed files with 3218 additions and 3167 deletions
|
|
@ -9,7 +9,7 @@ encodefmt(Fmt *f)
|
|||
int ilen;
|
||||
int rv;
|
||||
uchar *b;
|
||||
char obuf[64]; // rsc optimization
|
||||
char obuf[64]; /* rsc optimization */
|
||||
|
||||
b = va_arg(f->args, uchar*);
|
||||
if(b == 0)
|
||||
|
|
@ -44,7 +44,7 @@ encodefmt(Fmt *f)
|
|||
} else
|
||||
buf = obuf;
|
||||
|
||||
// convert
|
||||
/* convert */
|
||||
out = buf;
|
||||
switch(f->r){
|
||||
case '<':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue