summaryrefslogtreecommitdiffstats
path: root/cribbage/instr.c
diff options
context:
space:
mode:
authorjtc <jtc@NetBSD.org>1996-02-06 22:47:06 +0000
committerjtc <jtc@NetBSD.org>1996-02-06 22:47:06 +0000
commit46b902da5252697ebfccc29f3d5525122fbf1033 (patch)
treef7c6fcdeb002325c6f5303f8bbe64561e7226af0 /cribbage/instr.c
parentde10823315b591023db0037ec148e6f7f8e647bc (diff)
downloadbsdgames-darwin-46b902da5252697ebfccc29f3d5525122fbf1033.tar.gz
bsdgames-darwin-46b902da5252697ebfccc29f3d5525122fbf1033.tar.zst
bsdgames-darwin-46b902da5252697ebfccc29f3d5525122fbf1033.zip
Removed "extern int errno"; Added #include <errno.h> if not already present.
Diffstat (limited to 'cribbage/instr.c')
-rw-r--r--cribbage/instr.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/cribbage/instr.c b/cribbage/instr.c
index b4ecda0d..c2ab997a 100644
--- a/cribbage/instr.c
+++ b/cribbage/instr.c
@@ -1,4 +1,4 @@
-/* $NetBSD: instr.c,v 1.3 1995/03/21 15:08:52 cgd Exp $ */
+/* $NetBSD: instr.c,v 1.4 1996/02/06 22:47:18 jtc Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -37,13 +37,12 @@
#if 0
static char sccsid[] = "@(#)instr.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$NetBSD: instr.c,v 1.3 1995/03/21 15:08:52 cgd Exp $";
+static char rcsid[] = "$NetBSD: instr.c,v 1.4 1996/02/06 22:47:18 jtc Exp $";
#endif
#endif /* not lint */
#include <sys/types.h>
#include <sys/wait.h>
-#include <sys/errno.h>
#include <sys/stat.h>
#include <curses.h>
@@ -51,6 +50,7 @@ static char rcsid[] = "$NetBSD: instr.c,v 1.3 1995/03/21 15:08:52 cgd Exp $";
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <errno.h>
#include "deck.h"
#include "cribbage.h"
@@ -59,7 +59,6 @@ static char rcsid[] = "$NetBSD: instr.c,v 1.3 1995/03/21 15:08:52 cgd Exp $";
void
instructions()
{
- extern int errno;
struct stat sb;
union wait pstat;
pid_t pid;