From a65a873e56c35780711e9f73872c4fe0254589b0 Mon Sep 17 00:00:00 2001 From: cgd Date: Mon, 24 Apr 1995 12:21:37 +0000 Subject: 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. --- adventure/io.c | 5 +++-- adventure/wizard.c | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'adventure') diff --git a/adventure/io.c b/adventure/io.c index feb52c5d..86f0c850 100644 --- a/adventure/io.c +++ b/adventure/io.c @@ -1,4 +1,4 @@ -/* $NetBSD: io.c,v 1.2 1995/03/21 12:05:05 cgd Exp $ */ +/* $NetBSD: io.c,v 1.3 1995/04/24 12:21:37 cgd Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -42,7 +42,7 @@ #if 0 static char sccsid[] = "@(#)io.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$NetBSD: io.c,v 1.2 1995/03/21 12:05:05 cgd Exp $"; +static char rcsid[] = "$NetBSD: io.c,v 1.3 1995/04/24 12:21:37 cgd Exp $"; #endif #endif /* not lint */ @@ -50,6 +50,7 @@ static char rcsid[] = "$NetBSD: io.c,v 1.2 1995/03/21 12:05:05 cgd Exp $"; #include "hdr.h" #include +#include getin(wrd1,wrd2) /* get command from user */ diff --git a/adventure/wizard.c b/adventure/wizard.c index e6607b3e..aee942e2 100644 --- a/adventure/wizard.c +++ b/adventure/wizard.c @@ -1,4 +1,4 @@ -/* $NetBSD: wizard.c,v 1.2 1995/03/21 12:05:15 cgd Exp $ */ +/* $NetBSD: wizard.c,v 1.3 1995/04/24 12:21:41 cgd Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -42,13 +42,14 @@ #if 0 static char sccsid[] = "@(#)wizard.c 8.1 (Berkeley) 6/2/93"; #else -static char rcsid[] = "$NetBSD: wizard.c,v 1.2 1995/03/21 12:05:15 cgd Exp $"; +static char rcsid[] = "$NetBSD: wizard.c,v 1.3 1995/04/24 12:21:41 cgd Exp $"; #endif #endif /* not lint */ /* Re-coding of advent in C: privileged operations */ # include "hdr.h" +#include datime(d,t) int *d,*t; -- cgit v1.2.3