summaryrefslogtreecommitdiffstats
path: root/mille
diff options
context:
space:
mode:
authorplunky <plunky@NetBSD.org>2011-08-31 16:24:54 +0000
committerplunky <plunky@NetBSD.org>2011-08-31 16:24:54 +0000
commite4a1f12e7e44b2b62ece74c9ea36354fa944acf9 (patch)
tree7b2f6b6fab996c47c42c962d0211d2fffdd0ec0d /mille
parent8fdb2354b50bedf84e0744346e974d308ded6a1b (diff)
downloadbsdgames-darwin-e4a1f12e7e44b2b62ece74c9ea36354fa944acf9.tar.gz
bsdgames-darwin-e4a1f12e7e44b2b62ece74c9ea36354fa944acf9.tar.zst
bsdgames-darwin-e4a1f12e7e44b2b62ece74c9ea36354fa944acf9.zip
NULL does not need a cast
Diffstat (limited to 'mille')
-rw-r--r--mille/mille.c6
-rw-r--r--mille/move.c6
-rw-r--r--mille/varpush.c6
3 files changed, 9 insertions, 9 deletions
diff --git a/mille/mille.c b/mille/mille.c
index 41b407b1..10857a8d 100644
--- a/mille/mille.c
+++ b/mille/mille.c
@@ -1,4 +1,4 @@
-/* $NetBSD: mille.c,v 1.19 2009/05/25 23:41:23 dholland Exp $ */
+/* $NetBSD: mille.c,v 1.20 2011/08/31 16:24:56 plunky Exp $ */
/*
* Copyright (c) 1982, 1993
@@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1982, 1993\
#if 0
static char sccsid[] = "@(#)mille.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: mille.c,v 1.19 2009/05/25 23:41:23 dholland Exp $");
+__RCSID("$NetBSD: mille.c,v 1.20 2011/08/31 16:24:56 plunky Exp $");
#endif
#endif /* not lint */
@@ -61,7 +61,7 @@ main(int ac, char *av[])
if (strcmp(av[0], "a.out") == 0) {
outf = fopen("q", "w");
- setbuf(outf, (char *)NULL);
+ setbuf(outf, NULL);
Debug = TRUE;
}
restore = FALSE;
diff --git a/mille/move.c b/mille/move.c
index 060d118c..c8631f0a 100644
--- a/mille/move.c
+++ b/mille/move.c
@@ -1,4 +1,4 @@
-/* $NetBSD: move.c,v 1.17 2009/08/12 08:07:27 dholland Exp $ */
+/* $NetBSD: move.c,v 1.18 2011/08/31 16:24:56 plunky Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)move.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: move.c,v 1.17 2009/08/12 08:07:27 dholland Exp $");
+__RCSID("$NetBSD: move.c,v 1.18 2011/08/31 16:24:56 plunky Exp $");
#endif
#endif /* not lint */
@@ -469,7 +469,7 @@ over:
leaveok(Board, TRUE);
if ((outf = fopen(buf, "w")) == NULL)
warn("%s", buf);
- setbuf(outf, (char *)NULL);
+ setbuf(outf, NULL);
}
Debug = !Debug;
break;
diff --git a/mille/varpush.c b/mille/varpush.c
index 3835c475..333b66fd 100644
--- a/mille/varpush.c
+++ b/mille/varpush.c
@@ -1,4 +1,4 @@
-/* $NetBSD: varpush.c,v 1.11 2011/08/26 09:01:07 tron Exp $ */
+/* $NetBSD: varpush.c,v 1.12 2011/08/31 16:24:56 plunky Exp $ */
/*
* Copyright (c) 1982, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)varpush.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: varpush.c,v 1.11 2011/08/26 09:01:07 tron Exp $");
+__RCSID("$NetBSD: varpush.c,v 1.12 2011/08/31 16:24:56 plunky Exp $");
#endif
#endif /* not lint */
@@ -90,7 +90,7 @@ over:
goto over;
}
if (strcmp(buf, _PATH_DEVNULL) != 0)
- setbuf(outf, (char *)NULL);
+ setbuf(outf, NULL);
}
#endif
} else {