diff options
author | dholland <dholland@NetBSD.org> | 2014-03-29 21:27:08 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2014-03-29 21:27:08 +0000 |
commit | b56e2613523c26d3d8de7473c00cc12c23adfec2 (patch) | |
tree | 3fc65a4b58d1423c827db4faef6cedda3cc03bd2 /hunt | |
parent | f109f152df10627150c0b44d49d62fa94af806ad (diff) | |
download | bsdgames-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')
-rw-r--r-- | hunt/huntd/driver.c | 11 | ||||
-rw-r--r-- | hunt/huntd/pathname.c | 11 |
2 files changed, 11 insertions, 11 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 diff --git a/hunt/huntd/pathname.c b/hunt/huntd/pathname.c index f66daa56..b44b7deb 100644 --- a/hunt/huntd/pathname.c +++ b/hunt/huntd/pathname.c @@ -1,4 +1,4 @@ -/* $NetBSD: pathname.c,v 1.8 2014/03/29 21:25:35 dholland Exp $ */ +/* $NetBSD: pathname.c,v 1.9 2014/03/29 21:27:08 dholland Exp $ */ /* * Copyright (c) 1983-2003, Regents of the University of California. * All rights reserved. @@ -32,16 +32,9 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: pathname.c,v 1.8 2014/03/29 21:25:35 dholland Exp $"); +__RCSID("$NetBSD: pathname.c,v 1.9 2014/03/29 21:27:08 dholland Exp $"); #endif /* not lint */ #include <sys/types.h> #include "hunt_common.h" - -#ifdef INTERNET -u_short Test_port = TEST_PORT; -#else -char *Sock_name = "/tmp/hunt"; -char *Stat_name = "/tmp/hunt.stats"; -#endif |