Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/games/hack drop private (and wrong) definition of NULL
details: https://anonhg.NetBSD.org/src/rev/527a7aa4082c
branches: trunk
changeset: 768034:527a7aa4082c
user: dholland <dholland%NetBSD.org@localhost>
date: Sat Aug 06 20:24:35 2011 +0000
description:
drop private (and wrong) definition of NULL
diffstat:
games/hack/hack.mon.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diffs (29 lines):
diff -r 1be95100e3d5 -r 527a7aa4082c games/hack/hack.mon.c
--- a/games/hack/hack.mon.c Sat Aug 06 20:18:26 2011 +0000
+++ b/games/hack/hack.mon.c Sat Aug 06 20:24:35 2011 +0000
@@ -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 @@
#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;
Home |
Main Index |
Thread Index |
Old Index