From ad2ec32e1cbe6122b023b29baeaf84a530fcc6a9 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 2 Jun 2005 08:14:14 +0000 Subject: 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] --- netslide.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'netslide.c') diff --git a/netslide.c b/netslide.c index f6282eb..b0d975f 100644 --- a/netslide.c +++ b/netslide.c @@ -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) { -- cgit v1.1