Fix various departures from C found by `gcc -ansi -pedantic'. I

haven't checked in Makefile changes to enable this, but I'll at
least fix the specific problems it found when enabled as a one-off.

[originally from svn r5902]
This commit is contained in:
Simon Tatham
2005-06-02 08:14:14 +00:00
parent 09c396b8a8
commit ad2ec32e1c
5 changed files with 28 additions and 26 deletions

View File

@ -129,7 +129,7 @@ static int xyd_cmp(void *av, void *bv) {
if (a->direction > b->direction)
return +1;
return 0;
};
}
static struct xyd *new_xyd(int x, int y, int direction)
{