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

@ -56,7 +56,7 @@ enum {
Middle = 2,
Right = 4,
RMenu = 3,
RMenu = 3
};
void
@ -265,7 +265,7 @@ enum{
Del,
Write,
Empty3,
Exit,
Exit
};
void
@ -866,7 +866,7 @@ redraw(Image *screen)
}
}
border(screen, r, -4000, gray, ZP);
// flushimage(display, 0);
/* flushimage(display, 0); */
}
void
@ -1047,7 +1047,7 @@ newwin(void)
dup(cons, 1);
dup(cons, 2);
close(cons);
// wctlfd = open("/dev/wctl", OWRITE);
/* wctlfd = open("/dev/wctl", OWRITE); */
}
Rectangle