summaryrefslogtreecommitdiffstats
path: root/larn/tok.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2008-02-03 20:11:04 +0000
committerdholland <dholland@NetBSD.org>2008-02-03 20:11:04 +0000
commitccda27626c3c6cd1976164c34418d0fd2f920b62 (patch)
treefbb1346b8cce7bc477e94eef43ec6b43d99bb70b /larn/tok.c
parent476d2b8cf076c51c8aa05419833b24369b8ee286 (diff)
downloadbsdgames-darwin-ccda27626c3c6cd1976164c34418d0fd2f920b62.tar.gz
bsdgames-darwin-ccda27626c3c6cd1976164c34418d0fd2f920b62.tar.zst
bsdgames-darwin-ccda27626c3c6cd1976164c34418d0fd2f920b62.zip
Larn does not need its own private versions of functions from <ctype.h>.
Also, remove the function gettokstr(), which is not used. From larn 12.2.
Diffstat (limited to 'larn/tok.c')
-rw-r--r--larn/tok.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/larn/tok.c b/larn/tok.c
index 13512eb7..6ca1f672 100644
--- a/larn/tok.c
+++ b/larn/tok.c
@@ -1,9 +1,9 @@
-/* $NetBSD: tok.c,v 1.8 2008/02/03 20:01:24 dholland Exp $ */
+/* $NetBSD: tok.c,v 1.9 2008/02/03 20:11:05 dholland Exp $ */
/* tok.c Larn is copyrighted 1986 by Noah Morgan. */
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: tok.c,v 1.8 2008/02/03 20:01:24 dholland Exp $");
+__RCSID("$NetBSD: tok.c,v 1.9 2008/02/03 20:11:05 dholland Exp $");
#endif /* not lint */
#include <sys/types.h>
@@ -12,6 +12,7 @@ __RCSID("$NetBSD: tok.c,v 1.8 2008/02/03 20:01:24 dholland Exp $");
#include <stdlib.h>
#include <unistd.h>
#include <sys/wait.h>
+#include <ctype.h>
#include "header.h"
#include "extern.h"