diff options
author | dholland <dholland@NetBSD.org> | 2008-02-03 20:11:04 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2008-02-03 20:11:04 +0000 |
commit | ccda27626c3c6cd1976164c34418d0fd2f920b62 (patch) | |
tree | fbb1346b8cce7bc477e94eef43ec6b43d99bb70b /larn/tok.c | |
parent | 476d2b8cf076c51c8aa05419833b24369b8ee286 (diff) | |
download | bsdgames-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.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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" |