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
|
|
@ -4,7 +4,7 @@ typedef struct URLwin URLwin;
|
|||
enum
|
||||
{
|
||||
STACK = 8192,
|
||||
EVENTSIZE = 256,
|
||||
EVENTSIZE = 256
|
||||
};
|
||||
|
||||
struct Bytes
|
||||
|
|
|
|||
|
|
@ -314,7 +314,7 @@ rendertext(URLwin *u, Bytes *b)
|
|||
|
||||
rurl = toStr((uchar*)u->url, strlen(u->url), ISO_8859_1);
|
||||
u->items = parsehtml(b->b, b->n, rurl, u->type, charset((char*)b->b), &u->docinfo);
|
||||
// free(rurl);
|
||||
/* free(rurl); */
|
||||
|
||||
rerender(u);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue