-/* $NetBSD: deck.h,v 1.3 1995/03/23 08:34:36 cgd Exp $ */
+/* $NetBSD: deck.h,v 1.6 2003/08/07 09:37:27 agc Exp $ */
/*
* Copyright (c) 1980, 1993
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the University of
- * California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
+ * 3. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* @(#)deck.h 8.1 (Berkeley) 5/31/93
*/
-# define bool char
+#include <sys/types.h>
-# define CC_D deck[0]
-# define CH_D deck[1]
+#define bool char
+
+#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;