aboutsummaryrefslogtreecommitdiff
path: root/net.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2005-06-02 08:14:14 +0000
committerSimon Tatham <anakin@pobox.com>2005-06-02 08:14:14 +0000
commitad2ec32e1cbe6122b023b29baeaf84a530fcc6a9 (patch)
treeeff0e25621385c394af8459fb9156b13fac0d49d /net.c
parent09c396b8a863340de1f54536eb193eb2a9b28cb5 (diff)
downloadpuzzles-ad2ec32e1cbe6122b023b29baeaf84a530fcc6a9.zip
puzzles-ad2ec32e1cbe6122b023b29baeaf84a530fcc6a9.tar.gz
puzzles-ad2ec32e1cbe6122b023b29baeaf84a530fcc6a9.tar.bz2
puzzles-ad2ec32e1cbe6122b023b29baeaf84a530fcc6a9.tar.xz
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]
Diffstat (limited to 'net.c')
-rw-r--r--net.c2
1 files changed, 1 insertions, 1 deletions
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); }