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] --- net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net.c') diff --git a/net.c b/net.c index 38a025c..33af6c6 100644 --- a/net.c +++ b/net.c @@ -120,7 +120,7 @@ static int xyd_cmp(const void *av, const void *bv) { if (a->direction > b->direction) return +1; return 0; -}; +} static int xyd_cmp_nc(void *av, void *bv) { return xyd_cmp(av, bv); } -- cgit v1.1