diff options
author | Paul Janzen <pjanzen@cvs.openbsd.org> | 2001-02-13 11:55:12 +0000 |
---|---|---|
committer | Paul Janzen <pjanzen@cvs.openbsd.org> | 2001-02-13 11:55:12 +0000 |
commit | f15e31b4a13545b68e026611a2e09f111566a528 (patch) | |
tree | d3f471f48704d2db1de4ace5bb6668ad36a30d36 /games/hunt/huntd | |
parent | 91d0e8c9a86227bdc1ed81566e4da8b02aa15fff (diff) |
Quiet alpha warnings, principally with correct includes
Diffstat (limited to 'games/hunt/huntd')
-rw-r--r-- | games/hunt/huntd/conf.c | 4 | ||||
-rw-r--r-- | games/hunt/huntd/draw.c | 4 | ||||
-rw-r--r-- | games/hunt/huntd/driver.c | 3 | ||||
-rw-r--r-- | games/hunt/huntd/makemaze.c | 4 |
4 files changed, 10 insertions, 5 deletions
diff --git a/games/hunt/huntd/conf.c b/games/hunt/huntd/conf.c index d3db9ae99e3..20f98854850 100644 --- a/games/hunt/huntd/conf.c +++ b/games/hunt/huntd/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.4 1999/12/12 15:08:14 d Exp $ */ +/* $OpenBSD: conf.c,v 1.5 2001/02/13 11:55:09 pjanzen Exp $ */ /* David Leonard <d@openbsd.org>, 1999. Public domain. */ #include <stdio.h> @@ -118,7 +118,7 @@ static struct kwvar keywords[] = { { "mindshot", &conf_mindshot, Vint }, { "simstep", &conf_simstep, Vint }, - { NULL } + { NULL, NULL, Vint } }; static char * diff --git a/games/hunt/huntd/draw.c b/games/hunt/huntd/draw.c index ac6c32ba148..b7b344bf064 100644 --- a/games/hunt/huntd/draw.c +++ b/games/hunt/huntd/draw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: draw.c,v 1.3 1999/01/29 07:30:35 d Exp $ */ +/* $OpenBSD: draw.c,v 1.4 2001/02/13 11:55:10 pjanzen Exp $ */ /* $NetBSD: draw.c,v 1.2 1997/10/10 16:33:04 lukem Exp $ */ /* * Hunt @@ -6,6 +6,8 @@ * San Francisco, California */ +#include <string.h> + #include "hunt.h" #include "server.h" #include "conf.h" diff --git a/games/hunt/huntd/driver.c b/games/hunt/huntd/driver.c index 1145b67249f..f56e9bfd73d 100644 --- a/games/hunt/huntd/driver.c +++ b/games/hunt/huntd/driver.c @@ -1,4 +1,4 @@ -/* $OpenBSD: driver.c,v 1.9 2000/07/03 05:50:21 pjanzen Exp $ */ +/* $OpenBSD: driver.c,v 1.10 2001/02/13 11:55:10 pjanzen Exp $ */ /* $NetBSD: driver.c,v 1.5 1997/10/20 00:37:16 lukem Exp $ */ /* * Hunt @@ -13,6 +13,7 @@ #include <errno.h> #include <signal.h> #include <stdlib.h> +#include <string.h> #include <unistd.h> #include <stdio.h> #include <tcpd.h> diff --git a/games/hunt/huntd/makemaze.c b/games/hunt/huntd/makemaze.c index 6dd08dab7af..3a6ca3e2464 100644 --- a/games/hunt/huntd/makemaze.c +++ b/games/hunt/huntd/makemaze.c @@ -1,4 +1,4 @@ -/* $OpenBSD: makemaze.c,v 1.3 1999/01/29 07:30:36 d Exp $ */ +/* $OpenBSD: makemaze.c,v 1.4 2001/02/13 11:55:11 pjanzen Exp $ */ /* $NetBSD: makemaze.c,v 1.2 1997/10/10 16:33:43 lukem Exp $ */ /* * Hunt @@ -6,6 +6,8 @@ * San Francisco, California */ +#include <string.h> + #include "hunt.h" #include "server.h" #include "conf.h" |