We don't need a private #define "unsgn" for "unsigned", especially since

it was used exactly once.
This commit is contained in:
dholland 2009-05-25 23:44:04 +00:00
parent 85fc4e7c13
commit 18d676539b
2 changed files with 4 additions and 5 deletions

View File

@ -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];

View File

@ -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 */