summaryrefslogtreecommitdiffstats
path: root/games/hack/hack.o_init.c
diff options
context:
space:
mode:
authormestre <mestre@openbsd.org>2016-01-09 21:54:11 +0000
committermestre <mestre@openbsd.org>2016-01-09 21:54:11 +0000
commit6acf840eb12048fe6e815d917fa237f8a82441d8 (patch)
tree2b30fa6c735dd1c988490fb02d83b76d543e3560 /games/hack/hack.o_init.c
parentReplace "function call" with "function" when referring to a function (diff)
downloadwireguard-openbsd-6acf840eb12048fe6e815d917fa237f8a82441d8.tar.xz
wireguard-openbsd-6acf840eb12048fe6e815d917fa237f8a82441d8.zip
Remove several casts to (char *) 0 and replace them by NULL
Prompted and OK by tb@
Diffstat (limited to 'games/hack/hack.o_init.c')
-rw-r--r--games/hack/hack.o_init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/hack/hack.o_init.c b/games/hack/hack.o_init.c
index 3e31aa93549..cb01e1c90b4 100644
--- a/games/hack/hack.o_init.c
+++ b/games/hack/hack.o_init.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hack.o_init.c,v 1.7 2016/01/09 18:33:15 mestre Exp $ */
+/* $OpenBSD: hack.o_init.c,v 1.8 2016/01/09 21:54:11 mestre Exp $ */
/*
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
@@ -220,9 +220,9 @@ dodiscovered(void) /* free after Robert Viduya */
}
if (ct == 0) {
pline ("You haven't discovered anything yet...");
- cornline(3, (char *) 0);
+ cornline(3, NULL);
} else
- cornline(2, (char *) 0);
+ cornline(2, NULL);
return(0);
}