-/*
- * 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
* 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.
*
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
#ifndef lint
-/*static char sccsid[] = "from: @(#)extern.c 5.4 (Berkeley) 6/1/90";*/
-static char rcsid[] = "$Id: extern.c,v 1.2 1993/08/01 18:55:14 mycroft Exp $";
+#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 <curses.h>
-# include "deck.h"
-# include "cribbage.h"
+#include <curses.h>
+
+#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 */