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 | |
parent | 91d0e8c9a86227bdc1ed81566e4da8b02aa15fff (diff) |
Quiet alpha warnings, principally with correct includes
-rw-r--r-- | games/hunt/hunt/list.c | 3 | ||||
-rw-r--r-- | games/hunt/hunt/otto.c | 3 | ||||
-rw-r--r-- | games/hunt/hunt/playit.c | 3 | ||||
-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 |
7 files changed, 16 insertions, 8 deletions
diff --git a/games/hunt/hunt/list.c b/games/hunt/hunt/list.c index fd5a2a9497d..4b2300c14d5 100644 --- a/games/hunt/hunt/list.c +++ b/games/hunt/hunt/list.c @@ -1,4 +1,4 @@ -/* $OpenBSD: list.c,v 1.2 2000/06/30 18:28:03 pjanzen Exp $ */ +/* $OpenBSD: list.c,v 1.3 2001/02/13 11:54:59 pjanzen Exp $ */ /* * Copyright 1999, David Leonard. All rights reserved. * Redistribution and use in source and binary forms are permitted @@ -8,6 +8,7 @@ #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <netdb.h> #include <unistd.h> #include <errno.h> diff --git a/games/hunt/hunt/otto.c b/games/hunt/hunt/otto.c index 00d445c94a3..b7dfe2a791a 100644 --- a/games/hunt/hunt/otto.c +++ b/games/hunt/hunt/otto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: otto.c,v 1.4 1999/02/01 06:53:55 d Exp $ */ +/* $OpenBSD: otto.c,v 1.5 2001/02/13 11:55:00 pjanzen Exp $ */ /* $NetBSD: otto.c,v 1.2 1997/10/10 16:32:39 lukem Exp $ */ /* * otto - a hunt otto-matic player @@ -545,6 +545,7 @@ wander() /* Otto always re-enters the game, cloaked. */ int otto_quit(old_status) + int old_status; { return Q_CLOAK; } diff --git a/games/hunt/hunt/playit.c b/games/hunt/hunt/playit.c index 4fe9ce34e74..158641472d3 100644 --- a/games/hunt/hunt/playit.c +++ b/games/hunt/hunt/playit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: playit.c,v 1.5 1999/12/12 15:03:48 d Exp $ */ +/* $OpenBSD: playit.c,v 1.6 2001/02/13 11:55:01 pjanzen Exp $ */ /* $NetBSD: playit.c,v 1.4 1997/10/20 00:37:15 lukem Exp $ */ /* * Hunt @@ -12,6 +12,7 @@ #include <ctype.h> #include <termios.h> #include <signal.h> +#include <string.h> #include <unistd.h> #include <stdio.h> #include "hunt.h" 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" |