diff options
author | dholland <dholland@NetBSD.org> | 2009-05-25 23:44:04 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2009-05-25 23:44:04 +0000 |
commit | 99c04586433c829f292ecb69178402e7dae0b301 (patch) | |
tree | 97a145ea94b5dfadd8a991757b14d66821bce5ad /mille | |
parent | 35b34d3f213dc7be4518355f6c23feb97762113f (diff) | |
download | bsdgames-darwin-99c04586433c829f292ecb69178402e7dae0b301.tar.gz bsdgames-darwin-99c04586433c829f292ecb69178402e7dae0b301.tar.zst bsdgames-darwin-99c04586433c829f292ecb69178402e7dae0b301.zip |
We don't need a private #define "unsgn" for "unsigned", especially since
it was used exactly once.
Diffstat (limited to 'mille')
-rw-r--r-- | mille/comp.c | 6 | ||||
-rw-r--r-- | mille/mille.h | 3 |
2 files changed, 4 insertions, 5 deletions
diff --git a/mille/comp.c b/mille/comp.c index 7a913612..83f8aa3a 100644 --- a/mille/comp.c +++ b/mille/comp.c @@ -1,4 +1,4 @@ -/* $NetBSD: comp.c,v 1.12 2009/05/25 23:34:50 dholland Exp $ */ +/* $NetBSD: comp.c,v 1.13 2009/05/25 23:44:04 dholland Exp $ */ /* * Copyright (c) 1982, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)comp.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: comp.c,v 1.12 2009/05/25 23:34:50 dholland Exp $"); +__RCSID("$NetBSD: comp.c,v 1.13 2009/05/25 23:44:04 dholland Exp $"); #endif #endif /* not lint */ @@ -53,7 +53,7 @@ calcmove(void) int *value; PLAY *pp, *op; bool foundend, cango, canstop, foundlow; - unsgn int i, count200, badcount, nummin, nummax, diff; + unsigned int i, count200, badcount, nummin, nummax, diff; int curmin, curmax; CARD safe, oppos; int valbuf[HAND_SZ], count[NUM_CARDS]; diff --git a/mille/mille.h b/mille/mille.h index 4d327e28..8103a99f 100644 --- a/mille/mille.h +++ b/mille/mille.h @@ -1,4 +1,4 @@ -/* $NetBSD: mille.h,v 1.15 2009/05/25 23:34:50 dholland Exp $ */ +/* $NetBSD: mille.h,v 1.16 2009/05/25 23:44:04 dholland Exp $ */ /* * Copyright (c) 1982, 1993 @@ -52,7 +52,6 @@ * Miscellaneous constants */ -#define unsgn unsigned #define CARD short #define HAND_SZ 7 /* number of cards in a hand */ |