diff options
Diffstat (limited to 'canfield/canfield/canfield.c')
-rw-r--r-- | canfield/canfield/canfield.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/canfield/canfield/canfield.c b/canfield/canfield/canfield.c index a717d059..4c589882 100644 --- a/canfield/canfield/canfield.c +++ b/canfield/canfield/canfield.c @@ -1,4 +1,4 @@ -/* $NetBSD: canfield.c,v 1.26 2009/08/12 05:35:44 dholland Exp $ */ +/* $NetBSD: canfield.c,v 1.27 2010/01/01 06:37:15 dholland Exp $ */ /* * Copyright (c) 1980, 1993 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\ #if 0 static char sccsid[] = "@(#)canfield.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: canfield.c,v 1.26 2009/08/12 05:35:44 dholland Exp $"); +__RCSID("$NetBSD: canfield.c,v 1.27 2010/01/01 06:37:15 dholland Exp $"); #endif #endif /* not lint */ @@ -66,6 +66,7 @@ __RCSID("$NetBSD: canfield.c,v 1.26 2009/08/12 05:35:44 dholland Exp $"); #include <time.h> #include <unistd.h> +#include "betinfo.h" #include "pathnames.h" #define decksize 52 @@ -183,16 +184,6 @@ static int uid; /* * Variables associated with betting */ -struct betinfo { - long hand; /* cost of dealing hand */ - long inspection; /* cost of inspecting hand */ - long game; /* cost of buying game */ - long runs; /* cost of running through hands */ - long information; /* cost of information */ - long thinktime; /* cost of thinking time */ - long wins; /* total winnings */ - long worth; /* net worth after costs */ -}; static struct betinfo this, game, total; static bool startedgame = FALSE, infullgame = FALSE; static time_t acctstart; |