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/execute.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/execute.c')
-rw-r--r-- | monop/execute.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/monop/execute.c b/monop/execute.c index 29354a76..0f7036a6 100644 --- a/monop/execute.c +++ b/monop/execute.c @@ -1,4 +1,4 @@ -/* $NetBSD: execute.c,v 1.16 2008/02/24 01:41:14 dholland Exp $ */ +/* $NetBSD: execute.c,v 1.17 2008/02/24 01:57:34 dholland Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,11 +34,10 @@ #if 0 static char sccsid[] = "@(#)execute.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: execute.c,v 1.16 2008/02/24 01:41:14 dholland Exp $"); +__RCSID("$NetBSD: execute.c,v 1.17 2008/02/24 01:57:34 dholland Exp $"); #endif #endif /* not lint */ -#include "monop.ext" #include <fcntl.h> #include <stdlib.h> #include <unistd.h> @@ -49,6 +48,9 @@ __RCSID("$NetBSD: execute.c,v 1.16 2008/02/24 01:41:14 dholland Exp $"); #include <time.h> #include <errno.h> +#include "deck.h" +#include "monop.h" + #define MIN_FORMAT_VERSION 1 #define CUR_FORMAT_VERSION 1 #define MAX_FORMAT_VERSION 1 |