Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/games/hunt/huntd Move definitions to the file they're used in.
details: https://anonhg.NetBSD.org/src/rev/ad23a1a57059
branches: trunk
changeset: 328246:ad23a1a57059
user: dholland <dholland%NetBSD.org@localhost>
date: Sat Mar 29 21:27:08 2014 +0000
description:
Move definitions to the file they're used in.
diffstat:
games/hunt/huntd/driver.c | 11 +++++++++--
games/hunt/huntd/pathname.c | 11 ++---------
2 files changed, 11 insertions(+), 11 deletions(-)
diffs (59 lines):
diff -r 707706552aca -r ad23a1a57059 games/hunt/huntd/driver.c
--- a/games/hunt/huntd/driver.c Sat Mar 29 21:25:35 2014 +0000
+++ b/games/hunt/huntd/driver.c Sat Mar 29 21:27:08 2014 +0000
@@ -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 @@
#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 -r 707706552aca -r ad23a1a57059 games/hunt/huntd/pathname.c
--- a/games/hunt/huntd/pathname.c Sat Mar 29 21:25:35 2014 +0000
+++ b/games/hunt/huntd/pathname.c Sat Mar 29 21:27:08 2014 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index