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/deck.h | |
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/deck.h')
-rw-r--r-- | monop/deck.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/monop/deck.h b/monop/deck.h index 93b9c0bb..7275d1cc 100644 --- a/monop/deck.h +++ b/monop/deck.h @@ -1,4 +1,4 @@ -/* $NetBSD: deck.h,v 1.7 2008/02/23 19:49:21 dholland Exp $ */ +/* $NetBSD: deck.h,v 1.8 2008/02/24 01:57:34 dholland Exp $ */ /* * Copyright (c) 1980, 1993 @@ -46,3 +46,10 @@ struct dk_st { /* deck description structure */ }; typedef struct dk_st DECK; + +extern DECK deck[2]; + +/* cards.c */ +void init_decks(void); +void get_card(DECK *); + |