X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/77e3814f0c0e3dea4d0032e25666f77e6f83bfff..dc6fb5dc49807bdfab1b64b687522b76a6492011:/monop/deck.h?ds=sidebyside diff --git a/monop/deck.h b/monop/deck.h index 507b14c4..947b58cc 100644 --- a/monop/deck.h +++ b/monop/deck.h @@ -1,6 +1,8 @@ +/* $NetBSD: deck.h,v 1.5 1999/08/21 10:40:03 simonb Exp $ */ + /* - * Copyright (c) 1980 Regents of the University of California. - * All rights reserved. + * Copyright (c) 1980, 1993 + * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -30,19 +32,21 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#)deck.h 5.3 (Berkeley) 6/1/90 + * @(#)deck.h 8.1 (Berkeley) 5/31/93 */ -# define bool char +#include + +#define bool char -# define CC_D deck[0] -# define CH_D deck[1] +#define CC_D deck[0] +#define CH_D deck[1] struct dk_st { /* deck description structure */ int num_cards; /* number of cards in deck */ int last_card; /* number of last card picked */ bool gojf_used; /* set if gojf card out of deck */ - long *offsets; /* offests for start of cards */ + off_t *offsets; /* offsets for start of cards */ }; typedef struct dk_st DECK;