summaryrefslogtreecommitdiffstats
path: root/boggle
diff options
context:
space:
mode:
Diffstat (limited to 'boggle')
-rw-r--r--boggle/boggle/help.c6
-rw-r--r--boggle/boggle/mach.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/boggle/boggle/help.c b/boggle/boggle/help.c
index 365431f0..03106834 100644
--- a/boggle/boggle/help.c
+++ b/boggle/boggle/help.c
@@ -1,4 +1,4 @@
-/* $NetBSD: help.c,v 1.6 2005/07/01 16:38:24 jmc Exp $ */
+/* $NetBSD: help.c,v 1.7 2011/08/31 16:24:55 plunky Exp $ */
/*-
* Copyright (c) 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)help.c 8.1 (Berkeley) 6/11/93";
#else
-__RCSID("$NetBSD: help.c,v 1.6 2005/07/01 16:38:24 jmc Exp $");
+__RCSID("$NetBSD: help.c,v 1.7 2011/08/31 16:24:55 plunky Exp $");
#endif
#endif /* not lint */
@@ -70,7 +70,7 @@ help(void)
while (!eof) {
for (i = 0; i < nlines - 3; i++) {
- if (fgets(buf, sizeof(buf), fp) == (char *) NULL) {
+ if (fgets(buf, sizeof(buf), fp) == NULL) {
eof = 1;
break;
}
diff --git a/boggle/boggle/mach.c b/boggle/boggle/mach.c
index 823c738d..d9f9e348 100644
--- a/boggle/boggle/mach.c
+++ b/boggle/boggle/mach.c
@@ -1,4 +1,4 @@
-/* $NetBSD: mach.c,v 1.20 2009/08/12 05:29:40 dholland Exp $ */
+/* $NetBSD: mach.c,v 1.21 2011/08/31 16:24:55 plunky Exp $ */
/*-
* Copyright (c) 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)mach.c 8.1 (Berkeley) 6/11/93";
#else
-__RCSID("$NetBSD: mach.c,v 1.20 2009/08/12 05:29:40 dholland Exp $");
+__RCSID("$NetBSD: mach.c,v 1.21 2011/08/31 16:24:55 plunky Exp $");
#endif
#endif /* not lint */
@@ -257,7 +257,7 @@ get_line(char *q)
}
*p = '\0';
if (ch == EOF)
- return((char *) NULL);
+ return (NULL);
return(q);
}