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
|
|
@ -325,7 +325,7 @@ change(int a, int b, int c, int d)
|
|||
|
||||
enum
|
||||
{
|
||||
Lines = 3, /* number of lines of context shown */
|
||||
Lines = 3 /* number of lines of context shown */
|
||||
};
|
||||
|
||||
int
|
||||
|
|
|
|||
|
|
@ -379,7 +379,7 @@ diffreg(char *f, char *t)
|
|||
return;
|
||||
}
|
||||
if (binary){
|
||||
// could use b0 and b1 but this is simpler.
|
||||
/* could use b0 and b1 but this is simpler. */
|
||||
if (cmp(b0, b1))
|
||||
print("binary files %s %s differ\n", f, t);
|
||||
Bterm(b0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue