summaryrefslogtreecommitdiffstats
path: root/monop/prop.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/prop.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/prop.c')
-rw-r--r--monop/prop.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/monop/prop.c b/monop/prop.c
index f85c87f9..a8950e29 100644
--- a/monop/prop.c
+++ b/monop/prop.c
@@ -1,4 +1,4 @@
-/* $NetBSD: prop.c,v 1.16 2008/02/23 22:17:02 dholland Exp $ */
+/* $NetBSD: prop.c,v 1.17 2008/02/24 01:57:34 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -34,12 +34,13 @@
#if 0
static char sccsid[] = "@(#)prop.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: prop.c,v 1.16 2008/02/23 22:17:02 dholland Exp $");
+__RCSID("$NetBSD: prop.c,v 1.17 2008/02/24 01:57:34 dholland Exp $");
#endif
#endif /* not lint */
#include <stdlib.h>
-#include "monop.ext"
+
+#include "monop.h"
static int value(SQUARE *);