Module Name: src
Committed By: dholland
Date: Mon May 25 23:44:04 UTC 2009
Modified Files:
src/games/mille: comp.c mille.h
Log Message:
We don't need a private #define "unsgn" for "unsigned", especially since
it was used exactly once.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/games/mille/comp.c
cvs rdiff -u -r1.15 -r1.16 src/games/mille/mille.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/games/mille/comp.c
diff -u src/games/mille/comp.c:1.12 src/games/mille/comp.c:1.13
--- src/games/mille/comp.c:1.12 Mon May 25 23:34:50 2009
+++ src/games/mille/comp.c Mon May 25 23:44:04 2009
@@ -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 @@
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];
Index: src/games/mille/mille.h
diff -u src/games/mille/mille.h:1.15 src/games/mille/mille.h:1.16
--- src/games/mille/mille.h:1.15 Mon May 25 23:34:50 2009
+++ src/games/mille/mille.h Mon May 25 23:44:04 2009
@@ -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 */