diff options
author | cgd <cgd@NetBSD.org> | 1995-04-24 12:21:37 +0000 |
---|---|---|
committer | cgd <cgd@NetBSD.org> | 1995-04-24 12:21:37 +0000 |
commit | a65a873e56c35780711e9f73872c4fe0254589b0 (patch) | |
tree | 5e3a2578839def2becc14922977dc641dfd01c20 /larn/global.c | |
parent | d7c608df67f7b99aee31ddf6c13d8870695f6827 (diff) | |
download | bsdgames-darwin-a65a873e56c35780711e9f73872c4fe0254589b0.tar.gz bsdgames-darwin-a65a873e56c35780711e9f73872c4fe0254589b0.tar.zst 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/global.c')
-rw-r--r-- | larn/global.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/larn/global.c b/larn/global.c index 9be6c0d6..8e7049ea 100644 --- a/larn/global.c +++ b/larn/global.c @@ -1,5 +1,5 @@ #ifndef lint -static char rcsid[] = "$NetBSD: global.c,v 1.3 1995/03/23 08:33:26 cgd Exp $"; +static char rcsid[] = "$NetBSD: global.c,v 1.4 1995/04/24 12:23:52 cgd Exp $"; #endif /* not lint */ /* global.c Larn is copyrighted 1986 by Noah Morgan. @@ -23,6 +23,7 @@ static char rcsid[] = "$NetBSD: global.c,v 1.3 1995/03/23 08:33:26 cgd Exp $"; */ #include "header.h" +#include <string.h> extern int score[],srcount,dropflag; extern int random;/* the random number seed */ extern short playerx,playery,lastnum; |