Module Name:    src
Committed By:   dholland
Date:           Sat Mar 29 21:27:08 UTC 2014

Modified Files:
        src/games/hunt/huntd: driver.c pathname.c

Log Message:
Move definitions to the file they're used in.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/games/hunt/huntd/driver.c
cvs rdiff -u -r1.8 -r1.9 src/games/hunt/huntd/pathname.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/games/hunt/huntd/driver.c
diff -u src/games/hunt/huntd/driver.c:1.27 src/games/hunt/huntd/driver.c:1.28
--- src/games/hunt/huntd/driver.c:1.27	Sat Mar 29 20:35:30 2014
+++ src/games/hunt/huntd/driver.c	Sat Mar 29 21:27:08 2014
@@ -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/0
 #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

Index: src/games/hunt/huntd/pathname.c
diff -u src/games/hunt/huntd/pathname.c:1.8 src/games/hunt/huntd/pathname.c:1.9
--- src/games/hunt/huntd/pathname.c:1.8	Sat Mar 29 21:25:35 2014
+++ src/games/hunt/huntd/pathname.c	Sat Mar 29 21:27:08 2014
@@ -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

Reply via email to