From 858a6720891a7ac54475ce092705f4a9c8ec4f64 Mon Sep 17 00:00:00 2001 From: dholland Date: Sun, 24 Feb 2008 01:57:34 +0000 Subject: 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. --- monop/deck.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'monop/deck.h') 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 *); + -- cgit v1.2.3-56-ge451