From b56e2613523c26d3d8de7473c00cc12c23adfec2 Mon Sep 17 00:00:00 2001 From: dholland Date: Sat, 29 Mar 2014 21:27:08 +0000 Subject: Move definitions to the file they're used in. --- hunt/huntd/driver.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'hunt/huntd/driver.c') 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 #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 @@ -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 -- cgit v1.2.3-56-ge451