summaryrefslogtreecommitdiffstats
path: root/hunt/hunt/hunt_private.h
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2014-03-30 05:30:28 +0000
committerdholland <dholland@NetBSD.org>2014-03-30 05:30:28 +0000
commit4ddaf6127ab2fdcf268b76c9a33cb08bc276bfbf (patch)
treec5e563bc63ca82d2116ea9fce3f896dae11ad51f /hunt/hunt/hunt_private.h
parentf0f60ae760a0274a50d65666e97a141a29287a8f (diff)
downloadbsdgames-darwin-4ddaf6127ab2fdcf268b76c9a33cb08bc276bfbf.tar.gz
bsdgames-darwin-4ddaf6127ab2fdcf268b76c9a33cb08bc276bfbf.tar.zst
bsdgames-darwin-4ddaf6127ab2fdcf268b76c9a33cb08bc276bfbf.zip
Remove SHORTLEN and LONGLEN defines; use sizeof() properly instead.
Fix two semi-compensating size bugs in wire transmission affecting 64-bit machines.
Diffstat (limited to 'hunt/hunt/hunt_private.h')
-rw-r--r--hunt/hunt/hunt_private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hunt/hunt/hunt_private.h b/hunt/hunt/hunt_private.h
index 65c15e0e..f4402b57 100644
--- a/hunt/hunt/hunt_private.h
+++ b/hunt/hunt/hunt_private.h
@@ -1,4 +1,4 @@
-/* $NetBSD: hunt_private.h,v 1.8 2014/03/30 05:14:47 dholland Exp $ */
+/* $NetBSD: hunt_private.h,v 1.9 2014/03/30 05:30:28 dholland Exp $ */
/*
* Copyright (c) 1983-2003, Regents of the University of California.
@@ -73,7 +73,7 @@ extern SOCKET Daemon;
*/
/* in connect.c */
-void do_connect(char *, char, long);
+void do_connect(const char *, size_t, char, int32_t);
/* in hunt.c */
__dead void bad_con(void);