summaryrefslogtreecommitdiffstats
path: root/monop/misc.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2008-02-24 01:57:34 +0000
committerdholland <dholland@NetBSD.org>2008-02-24 01:57:34 +0000
commit858a6720891a7ac54475ce092705f4a9c8ec4f64 (patch)
tree27f3c452f1e773e77d87905a6bd97ed192dc916e /monop/misc.c
parent3a7bd350ec2aed9c0128fa818be32f554dfe29a6 (diff)
downloadbsdgames-darwin-858a6720891a7ac54475ce092705f4a9c8ec4f64.tar.gz
bsdgames-darwin-858a6720891a7ac54475ce092705f4a9c8ec4f64.tar.zst
bsdgames-darwin-858a6720891a7ac54475ce092705f4a9c8ec4f64.zip
Source files should be named *.c or *.h, not random other things.
Fold monop.ext (which was extern data decls) into monop.h and deck.h. Fold monop.def (which had definitions for the extern data) into monop.c. Fold brd.dat/mon.dat/prop.dat (which were array initializers for some of the data) into monop.c. Rearrange includes accordingly. No functional change.
Diffstat (limited to 'monop/misc.c')
-rw-r--r--monop/misc.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/monop/misc.c b/monop/misc.c
index 803c6e84..22ccce8a 100644
--- a/monop/misc.c
+++ b/monop/misc.c
@@ -1,4 +1,4 @@
-/* $NetBSD: misc.c,v 1.18 2008/02/23 21:35:13 dholland Exp $ */
+/* $NetBSD: misc.c,v 1.19 2008/02/24 01:57:34 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -34,15 +34,16 @@
#if 0
static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: misc.c,v 1.18 2008/02/23 21:35:13 dholland Exp $");
+__RCSID("$NetBSD: misc.c,v 1.19 2008/02/24 01:57:34 dholland Exp $");
#endif
#endif /* not lint */
-#include "monop.ext"
#include <ctype.h>
#include <limits.h>
#include <signal.h>
+#include "monop.h"
+
/*
* This routine executes a truncated set of commands until a
* "yes or "no" answer is gotten.