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/io.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/io.c')
-rw-r--r-- | larn/io.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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> |