diff options
author | dholland <dholland@NetBSD.org> | 2008-02-24 01:57:34 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2008-02-24 01:57:34 +0000 |
commit | 858a6720891a7ac54475ce092705f4a9c8ec4f64 (patch) | |
tree | 27f3c452f1e773e77d87905a6bd97ed192dc916e /monop/cards.c | |
parent | 3a7bd350ec2aed9c0128fa818be32f554dfe29a6 (diff) | |
download | bsdgames-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/cards.c')
-rw-r--r-- | monop/cards.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/monop/cards.c b/monop/cards.c index ca27b463..a085412b 100644 --- a/monop/cards.c +++ b/monop/cards.c @@ -1,4 +1,4 @@ -/* $NetBSD: cards.c,v 1.20 2008/02/23 19:54:06 dholland Exp $ */ +/* $NetBSD: cards.c,v 1.21 2008/02/24 01:57:34 dholland Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,13 +34,14 @@ #if 0 static char sccsid[] = "@(#)cards.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: cards.c,v 1.20 2008/02/23 19:54:06 dholland Exp $"); +__RCSID("$NetBSD: cards.c,v 1.21 2008/02/24 01:57:34 dholland Exp $"); #endif #endif /* not lint */ #include <sys/types.h> #include <sys/endian.h> -#include "monop.ext" +#include "monop.h" +#include "deck.h" #include "pathnames.h" /* |