summaryrefslogtreecommitdiffstats
path: root/hack
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2011-08-06 20:24:35 +0000
committerdholland <dholland@NetBSD.org>2011-08-06 20:24:35 +0000
commit10b5de29f245af86f4a46e1633e1902332b2ad06 (patch)
tree040093085eacb8a68a684d10d932672cd88057e6 /hack
parent9454bf2a02784b7f28fbab922d3d8b56b2193786 (diff)
downloadbsdgames-darwin-10b5de29f245af86f4a46e1633e1902332b2ad06.tar.gz
bsdgames-darwin-10b5de29f245af86f4a46e1633e1902332b2ad06.tar.zst
bsdgames-darwin-10b5de29f245af86f4a46e1633e1902332b2ad06.zip
drop private (and wrong) definition of NULL
Diffstat (limited to 'hack')
-rw-r--r--hack/hack.mon.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/hack/hack.mon.c b/hack/hack.mon.c
index 9f6e7e97..dd56e6bb 100644
--- a/hack/hack.mon.c
+++ b/hack/hack.mon.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hack.mon.c,v 1.11 2011/05/30 03:11:15 joerg Exp $ */
+/* $NetBSD: hack.mon.c,v 1.12 2011/08/06 20:24:35 dholland Exp $ */
/*
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
@@ -63,7 +63,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: hack.mon.c,v 1.11 2011/05/30 03:11:15 joerg Exp $");
+__RCSID("$NetBSD: hack.mon.c,v 1.12 2011/08/06 20:24:35 dholland Exp $");
#endif /* not lint */
#include <stdlib.h>
@@ -71,10 +71,6 @@ __RCSID("$NetBSD: hack.mon.c,v 1.11 2011/05/30 03:11:15 joerg Exp $");
#include "extern.h"
#include "hack.mfndpos.h"
-#ifndef NULL
-#define NULL (char *) 0
-#endif
-
static int warnlevel; /* used by movemon and dochugw */
static long lastwarntime;
static int lastwarnlev;