summaryrefslogtreecommitdiffstats
path: root/larn/io.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/io.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/io.c')
-rw-r--r--larn/io.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/larn/io.c b/larn/io.c
index c6f41522..36e950cd 100644
--- a/larn/io.c
+++ b/larn/io.c
@@ -1,4 +1,4 @@
-/* $NetBSD: io.c,v 1.21 2008/02/03 19:20:41 dholland Exp $ */
+/* $NetBSD: io.c,v 1.22 2008/02/03 20:11:05 dholland Exp $ */
/*
* io.c Larn is copyrighted 1986 by Noah Morgan.
@@ -62,7 +62,7 @@
*/
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: io.c,v 1.21 2008/02/03 19:20:41 dholland Exp $");
+__RCSID("$NetBSD: io.c,v 1.22 2008/02/03 20:11:05 dholland Exp $");
#endif /* not lint */
#include "header.h"
@@ -74,6 +74,7 @@ __RCSID("$NetBSD: io.c,v 1.21 2008/02/03 19:20:41 dholland Exp $");
#include <termcap.h>
#include <fcntl.h>
#include <errno.h>
+#include <ctype.h>
#ifdef TERMIO
#include <termio.h>