summaryrefslogtreecommitdiffstats
path: root/larn/tok.c
diff options
context:
space:
mode:
authorcgd <cgd@NetBSD.org>1995-04-24 12:21:37 +0000
committercgd <cgd@NetBSD.org>1995-04-24 12:21:37 +0000
commita65a873e56c35780711e9f73872c4fe0254589b0 (patch)
tree5e3a2578839def2becc14922977dc641dfd01c20 /larn/tok.c
parentd7c608df67f7b99aee31ddf6c13d8870695f6827 (diff)
downloadbsdgames-darwin-a65a873e56c35780711e9f73872c4fe0254589b0.tar.gz
bsdgames-darwin-a65a873e56c35780711e9f73872c4fe0254589b0.zip
Various changes to make games compile w/o warnings on the alpha:
Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
Diffstat (limited to 'larn/tok.c')
-rw-r--r--larn/tok.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/larn/tok.c b/larn/tok.c
index 5b9e2610..32aca694 100644
--- a/larn/tok.c
+++ b/larn/tok.c
@@ -1,5 +1,5 @@
#ifndef lint
-static char rcsid[] = "$NetBSD: tok.c,v 1.3 1995/03/23 08:34:23 cgd Exp $";
+static char rcsid[] = "$NetBSD: tok.c,v 1.4 1995/04/24 12:24:14 cgd Exp $";
#endif /* not lint */
/* tok.c Larn is copyrighted 1986 by Noah Morgan. */
@@ -11,6 +11,7 @@ static char rcsid[] = "$NetBSD: tok.c,v 1.3 1995/03/23 08:34:23 cgd Exp $";
#include <sys/ioctl.h>
#endif SYSV
#include "header.h"
+#include <string.h>
static char lastok=0;
int yrepcount=0,dayplay=0;