X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/77e3814f0c0e3dea4d0032e25666f77e6f83bfff..HEAD:/cribbage/extern.c diff --git a/cribbage/extern.c b/cribbage/extern.c index 3fa18ce6..01b3edd4 100644 --- a/cribbage/extern.c +++ b/cribbage/extern.c @@ -1,6 +1,8 @@ -/* - * Copyright (c) 1980 Regents of the University of California. - * All rights reserved. +/* $NetBSD: extern.c,v 1.7 2003/08/07 09:37:10 agc Exp $ */ + +/*- + * Copyright (c) 1980, 1993 + * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -10,11 +12,7 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors + * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * @@ -31,20 +29,26 @@ * SUCH DAMAGE. */ +#include #ifndef lint -static char sccsid[] = "@(#)extern.c 5.4 (Berkeley) 6/1/90"; +#if 0 +static char sccsid[] = "@(#)extern.c 8.1 (Berkeley) 5/31/93"; +#else +__RCSID("$NetBSD: extern.c,v 1.7 2003/08/07 09:37:10 agc Exp $"); +#endif #endif /* not lint */ -# include -# include "deck.h" -# include "cribbage.h" +#include + +#include "deck.h" +#include "cribbage.h" -bool explain = FALSE; /* player mistakes explained */ -bool iwon = FALSE; /* if comp won last game */ -bool quiet = FALSE; /* if suppress random mess */ -bool rflag = FALSE; /* if all cuts random */ +BOOLEAN explain = FALSE; /* player mistakes explained */ +BOOLEAN iwon = FALSE; /* if comp won last game */ +BOOLEAN quiet = FALSE; /* if suppress random mess */ +BOOLEAN rflag = FALSE; /* if all cuts random */ -char expl[128]; /* explanation */ +char explan[128]; /* explanation */ int cgames = 0; /* number games comp won */ int cscore = 0; /* comp score in this game */