summaryrefslogtreecommitdiffstats
path: root/monop/deck.h
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2008-02-23 19:49:21 +0000
committerdholland <dholland@NetBSD.org>2008-02-23 19:49:21 +0000
commit8b58b8a3da4d5591c8f696d9d81c0ec6ddb0fbd0 (patch)
tree1e5a854489d4aed178eb5945d799e1a0b2463608 /monop/deck.h
parent2ba03115f1cf7fb9bf924654405626d047f940ad (diff)
downloadbsdgames-darwin-8b58b8a3da4d5591c8f696d9d81c0ec6ddb0fbd0.tar.gz
bsdgames-darwin-8b58b8a3da4d5591c8f696d9d81c0ec6ddb0fbd0.tar.zst
bsdgames-darwin-8b58b8a3da4d5591c8f696d9d81c0ec6ddb0fbd0.zip
Rename ->last_card to ->top_card to match OpenBSD (and also to make
somewhat more sense...)
Diffstat (limited to 'monop/deck.h')
-rw-r--r--monop/deck.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/monop/deck.h b/monop/deck.h
index a5d5159a..93b9c0bb 100644
--- a/monop/deck.h
+++ b/monop/deck.h
@@ -1,4 +1,4 @@
-/* $NetBSD: deck.h,v 1.6 2003/08/07 09:37:27 agc Exp $ */
+/* $NetBSD: deck.h,v 1.7 2008/02/23 19:49:21 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -40,7 +40,7 @@
struct dk_st { /* deck description structure */
int num_cards; /* number of cards in deck */
- int last_card; /* number of last card picked */
+ int top_card; /* number of last card picked */
bool gojf_used; /* set if gojf card out of deck */
off_t *offsets; /* offsets for start of cards */
};