summaryrefslogtreecommitdiff
path: root/games/dm/dm.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-02-17 23:54:48 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-02-17 23:54:48 +0000
commit90b44520803cb30d9db888f46d36c484a622630e (patch)
tree11767cbbdb6eeab60a619bb4936d2b29cb89b045 /games/dm/dm.c
parent2f634fcf3f197c2025cb9ecfe92ff432c93a1504 (diff)
From netbsd:
Removed "extern int errno"; Added #include <errno.h> if not already present.
Diffstat (limited to 'games/dm/dm.c')
-rw-r--r--games/dm/dm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/dm/dm.c b/games/dm/dm.c
index 7dd82ef9934..69797ade005 100644
--- a/games/dm/dm.c
+++ b/games/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 */