summaryrefslogtreecommitdiffstats
path: root/hunt/huntd/driver.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2014-03-29 21:27:08 +0000
committerdholland <dholland@NetBSD.org>2014-03-29 21:27:08 +0000
commitb56e2613523c26d3d8de7473c00cc12c23adfec2 (patch)
tree3fc65a4b58d1423c827db4faef6cedda3cc03bd2 /hunt/huntd/driver.c
parentf109f152df10627150c0b44d49d62fa94af806ad (diff)
downloadbsdgames-darwin-b56e2613523c26d3d8de7473c00cc12c23adfec2.tar.gz
bsdgames-darwin-b56e2613523c26d3d8de7473c00cc12c23adfec2.tar.zst
bsdgames-darwin-b56e2613523c26d3d8de7473c00cc12c23adfec2.zip
Move definitions to the file they're used in.
Diffstat (limited to 'hunt/huntd/driver.c')
-rw-r--r--hunt/huntd/driver.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/hunt/huntd/driver.c b/hunt/huntd/driver.c
index 0c3feae0..e525aec6 100644
--- a/hunt/huntd/driver.c
+++ b/hunt/huntd/driver.c
@@ -1,4 +1,4 @@
-/* $NetBSD: driver.c,v 1.27 2014/03/29 20:35:30 dholland Exp $ */
+/* $NetBSD: driver.c,v 1.28 2014/03/29 21:27:08 dholland Exp $ */
/*
* Copyright (c) 1983-2003, Regents of the University of California.
* All rights reserved.
@@ -32,7 +32,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: driver.c,v 1.27 2014/03/29 20:35:30 dholland Exp $");
+__RCSID("$NetBSD: driver.c,v 1.28 2014/03/29 21:27:08 dholland Exp $");
#endif /* not lint */
#include <sys/ioctl.h>
@@ -46,6 +46,13 @@ __RCSID("$NetBSD: driver.c,v 1.27 2014/03/29 20:35:30 dholland Exp $");
#include"hunt.h"
+#ifdef INTERNET
+u_short Test_port = TEST_PORT;
+#else
+char *Sock_name = "/tmp/hunt";
+char *Stat_name = "/tmp/hunt.stats";
+#endif
+
static SOCKET Daemon;
#ifdef INTERNET