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
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue