summaryrefslogtreecommitdiff
path: root/games/larn/tok.c
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>1999-05-30 02:23:18 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>1999-05-30 02:23:18 +0000
commitc37a824a5731bbf062ef51886e87e3518150da78 (patch)
tree2cec83a38c04242325f3bd21e510c0319fe52d26 /games/larn/tok.c
parent43007dc359f95c901be348fc1b2a2d4ea237cb0e (diff)
use standard isalpha() and isdigit(); check that screen is big enough;
correct a typo, and fix up some man page paths.
Diffstat (limited to 'games/larn/tok.c')
-rw-r--r--games/larn/tok.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/games/larn/tok.c b/games/larn/tok.c
index 432d58d677c..2b2c8d873cb 100644
--- a/games/larn/tok.c
+++ b/games/larn/tok.c
@@ -1,12 +1,13 @@
-/* $OpenBSD: tok.c,v 1.3 1999/03/27 03:45:50 pjanzen Exp $ */
+/* $OpenBSD: tok.c,v 1.4 1999/05/30 02:23:17 pjanzen Exp $ */
/* $NetBSD: tok.c,v 1.5 1997/10/18 20:03:54 christos Exp $ */
/* tok.c Larn is copyrighted 1986 by Noah Morgan. */
#ifndef lint
-static char rcsid[] = "$OpenBSD: tok.c,v 1.3 1999/03/27 03:45:50 pjanzen Exp $";
+static char rcsid[] = "$OpenBSD: tok.c,v 1.4 1999/05/30 02:23:17 pjanzen Exp $";
#endif /* not lint */
#include <sys/types.h>
+#include <ctype.h>
#include <string.h>
#include <sys/ioctl.h>
#include <stdlib.h>