summaryrefslogtreecommitdiffstats
path: root/dm/dm.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 /dm/dm.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 'dm/dm.c')
-rw-r--r--dm/dm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dm/dm.c b/dm/dm.c
index 7dd82ef9..fca2fd39 100644
--- a/dm/dm.c
+++ b/dm/dm.c
@@ -1,4 +1,4 @@
-/* $NetBSD: dm.c,v 1.4 1995/03/21 15:09:05 cgd Exp $ */
+/* $NetBSD: dm.c,v 1.5 1996/02/06 22:47:20 jtc Exp $ */
/*
* Copyright (c) 1987, 1993
@@ -43,7 +43,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)dm.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$NetBSD: dm.c,v 1.4 1995/03/21 15:09:05 cgd Exp $";
+static char rcsid[] = "$NetBSD: dm.c,v 1.5 1996/02/06 22:47:20 jtc Exp $";
#endif
#endif /* not lint */
@@ -60,10 +60,10 @@ static char rcsid[] = "$NetBSD: dm.c,v 1.4 1995/03/21 15:09:05 cgd Exp $";
#include <time.h>
#include <unistd.h>
#include <utmp.h>
+#include <errno.h>
#include "pathnames.h"
-extern int errno;
static time_t now; /* current time value */
static int priority = 0; /* priority game runs at */
static char *game, /* requested game */