diff options
-rw-r--r-- | games/adventure/done.c | 5 | ||||
-rw-r--r-- | games/adventure/main.c | 5 | ||||
-rw-r--r-- | games/adventure/subr.c | 5 | ||||
-rw-r--r-- | games/bcd/bcd.c | 5 | ||||
-rw-r--r-- | games/boggle/mkindex/mkindex.c | 5 | ||||
-rw-r--r-- | games/canfield/cfscores/cfscores.c | 5 | ||||
-rw-r--r-- | games/gomoku/stoc.c | 5 | ||||
-rw-r--r-- | games/morse/morse.c | 6 | ||||
-rw-r--r-- | games/pom/pom.c | 5 | ||||
-rw-r--r-- | games/ppt/ppt.c | 5 | ||||
-rw-r--r-- | games/sail/lo_main.c | 5 | ||||
-rw-r--r-- | games/sail/pl_1.c | 5 | ||||
-rw-r--r-- | games/trek/computer.c | 5 | ||||
-rw-r--r-- | games/trek/destruct.c | 5 | ||||
-rw-r--r-- | games/trek/getpar.c | 5 | ||||
-rw-r--r-- | games/trek/setup.c | 5 | ||||
-rw-r--r-- | games/trek/torped.c | 5 |
17 files changed, 52 insertions, 34 deletions
diff --git a/games/adventure/done.c b/games/adventure/done.c index e99b6a26f55..41e40648ee3 100644 --- a/games/adventure/done.c +++ b/games/adventure/done.c @@ -1,4 +1,4 @@ -/* $OpenBSD: done.c,v 1.5 2003/06/03 03:01:37 millert Exp $ */ +/* $OpenBSD: done.c,v 1.6 2003/07/10 00:03:01 david Exp $ */ /* $NetBSD: done.c,v 1.2 1995/03/21 12:05:01 cgd Exp $ */ /*- @@ -39,13 +39,14 @@ #if 0 static char sccsid[] = "@(#)done.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: done.c,v 1.5 2003/06/03 03:01:37 millert Exp $"; +static char rcsid[] = "$OpenBSD: done.c,v 1.6 2003/07/10 00:03:01 david Exp $"; #endif #endif /* not lint */ /* Re-coding of advent in C: termination routines */ #include <stdio.h> +#include <stdlib.h> #include "hdr.h" #include "extern.h" diff --git a/games/adventure/main.c b/games/adventure/main.c index dbc111f82cd..081eb1a98b5 100644 --- a/games/adventure/main.c +++ b/games/adventure/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.16 2003/06/03 03:01:37 millert Exp $ */ +/* $OpenBSD: main.c,v 1.17 2003/07/10 00:03:01 david Exp $ */ /* $NetBSD: main.c,v 1.5 1996/05/21 21:53:09 mrg Exp $ */ /*- @@ -45,7 +45,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/2/93"; #else -static char rcsid[] = "$OpenBSD: main.c,v 1.16 2003/06/03 03:01:37 millert Exp $"; +static char rcsid[] = "$OpenBSD: main.c,v 1.17 2003/07/10 00:03:01 david Exp $"; #endif #endif /* not lint */ @@ -55,6 +55,7 @@ static char rcsid[] = "$OpenBSD: main.c,v 1.16 2003/06/03 03:01:37 millert Exp $ #include <err.h> #include <signal.h> #include <stdio.h> +#include <stdlib.h> #include <unistd.h> #include "hdr.h" #include "extern.h" diff --git a/games/adventure/subr.c b/games/adventure/subr.c index 7ca97796cd5..e9891a4ff2f 100644 --- a/games/adventure/subr.c +++ b/games/adventure/subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr.c,v 1.7 2003/06/03 03:01:37 millert Exp $ */ +/* $OpenBSD: subr.c,v 1.8 2003/07/10 00:03:01 david Exp $ */ /* $NetBSD: subr.c,v 1.2 1995/03/21 12:05:11 cgd Exp $ */ /*- @@ -39,13 +39,14 @@ #if 0 static char sccsid[] = "@(#)subr.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: subr.c,v 1.7 2003/06/03 03:01:37 millert Exp $"; +static char rcsid[] = "$OpenBSD: subr.c,v 1.8 2003/07/10 00:03:01 david Exp $"; #endif #endif /* not lint */ /* Re-coding of advent in C: subroutines from main */ #include <stdio.h> +#include <stdlib.h> #include "hdr.h" #include "extern.h" diff --git a/games/bcd/bcd.c b/games/bcd/bcd.c index 1f77cb9f06b..05da17e09a1 100644 --- a/games/bcd/bcd.c +++ b/games/bcd/bcd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bcd.c,v 1.9 2003/06/03 03:01:39 millert Exp $ */ +/* $OpenBSD: bcd.c,v 1.10 2003/07/10 00:03:01 david Exp $ */ /* $NetBSD: bcd.c,v 1.6 1995/04/24 12:22:23 cgd Exp $ */ /* @@ -43,7 +43,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)bcd.c 8.2 (Berkeley) 3/20/94"; #else -static char rcsid[] = "$OpenBSD: bcd.c,v 1.9 2003/06/03 03:01:39 millert Exp $"; +static char rcsid[] = "$OpenBSD: bcd.c,v 1.10 2003/07/10 00:03:01 david Exp $"; #endif #endif /* not lint */ @@ -79,6 +79,7 @@ static char rcsid[] = "$OpenBSD: bcd.c,v 1.9 2003/06/03 03:01:39 millert Exp $"; #include <sys/types.h> #include <stdio.h> +#include <stdlib.h> #include <string.h> #include <ctype.h> #include <unistd.h> diff --git a/games/boggle/mkindex/mkindex.c b/games/boggle/mkindex/mkindex.c index 2d8cfdca456..f88a6faa5d6 100644 --- a/games/boggle/mkindex/mkindex.c +++ b/games/boggle/mkindex/mkindex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mkindex.c,v 1.5 2003/06/03 03:01:39 millert Exp $ */ +/* $OpenBSD: mkindex.c,v 1.6 2003/07/10 00:03:01 david Exp $ */ /* $NetBSD: mkindex.c,v 1.2 1995/03/21 12:14:52 cgd Exp $ */ /*- @@ -43,11 +43,12 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)mkindex.c 8.1 (Berkeley) 6/11/93"; #else -static char rcsid[] = "$OpenBSD: mkindex.c,v 1.5 2003/06/03 03:01:39 millert Exp $"; +static char rcsid[] = "$OpenBSD: mkindex.c,v 1.6 2003/07/10 00:03:01 david Exp $"; #endif #endif /* not lint */ #include <stdio.h> +#include <stdlib.h> #include "bog.h" diff --git a/games/canfield/cfscores/cfscores.c b/games/canfield/cfscores/cfscores.c index e5f34ecf17e..2fd2559ce5b 100644 --- a/games/canfield/cfscores/cfscores.c +++ b/games/canfield/cfscores/cfscores.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cfscores.c,v 1.10 2003/06/03 03:01:39 millert Exp $ */ +/* $OpenBSD: cfscores.c,v 1.11 2003/07/10 00:03:01 david Exp $ */ /* $NetBSD: cfscores.c,v 1.3 1995/03/21 15:08:37 cgd Exp $ */ /* @@ -40,7 +40,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)cfscores.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: cfscores.c,v 1.10 2003/06/03 03:01:39 millert Exp $"; +static char rcsid[] = "$OpenBSD: cfscores.c,v 1.11 2003/07/10 00:03:01 david Exp $"; #endif #endif /* not lint */ @@ -49,6 +49,7 @@ static char rcsid[] = "$OpenBSD: cfscores.c,v 1.10 2003/06/03 03:01:39 millert E #include <fcntl.h> #include <pwd.h> #include <stdio.h> +#include <stdlib.h> #include <string.h> #include <unistd.h> #include "pathnames.h" diff --git a/games/gomoku/stoc.c b/games/gomoku/stoc.c index c5a523da93c..1fc1f968d0c 100644 --- a/games/gomoku/stoc.c +++ b/games/gomoku/stoc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: stoc.c,v 1.6 2003/06/03 03:01:39 millert Exp $ */ +/* $OpenBSD: stoc.c,v 1.7 2003/07/10 00:03:01 david Exp $ */ /* * Copyright (c) 1994 * The Regents of the University of California. All rights reserved. @@ -35,12 +35,13 @@ #if 0 static char sccsid[] = "@(#)stoc.c 8.1 (Berkeley) 7/24/94"; #else -static char rcsid[] = "$OpenBSD: stoc.c,v 1.6 2003/06/03 03:01:39 millert Exp $"; +static char rcsid[] = "$OpenBSD: stoc.c,v 1.7 2003/07/10 00:03:01 david Exp $"; #endif #endif /* not lint */ #include "gomoku.h" #include <stdlib.h> +#include <string.h> #include <ctype.h> char *letters = "<ABCDEFGHJKLMNOPQRST>"; diff --git a/games/morse/morse.c b/games/morse/morse.c index f8d5771bbf6..c371fc63c6c 100644 --- a/games/morse/morse.c +++ b/games/morse/morse.c @@ -1,4 +1,4 @@ -/* $OpenBSD: morse.c,v 1.10 2003/06/03 03:01:40 millert Exp $ */ +/* $OpenBSD: morse.c,v 1.11 2003/07/10 00:03:01 david Exp $ */ /* * Copyright (c) 1988, 1993 @@ -39,12 +39,14 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)morse.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: morse.c,v 1.10 2003/06/03 03:01:40 millert Exp $"; +static char rcsid[] = "$OpenBSD: morse.c,v 1.11 2003/07/10 00:03:01 david Exp $"; #endif #endif /* not lint */ #include <ctype.h> #include <stdio.h> +#include <stdlib.h> +#include <string.h> #include <unistd.h> static char diff --git a/games/pom/pom.c b/games/pom/pom.c index 5dbc4a90e8f..185b71f2cbe 100644 --- a/games/pom/pom.c +++ b/games/pom/pom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pom.c,v 1.9 2003/06/03 03:01:40 millert Exp $ */ +/* $OpenBSD: pom.c,v 1.10 2003/07/10 00:03:01 david Exp $ */ /* $NetBSD: pom.c,v 1.6 1996/02/06 22:47:29 jtc Exp $ */ /* @@ -42,7 +42,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)pom.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: pom.c,v 1.9 2003/06/03 03:01:40 millert Exp $"; +static char rcsid[] = "$OpenBSD: pom.c,v 1.10 2003/07/10 00:03:01 david Exp $"; #endif #endif /* not lint */ @@ -62,6 +62,7 @@ static char rcsid[] = "$OpenBSD: pom.c,v 1.9 2003/06/03 03:01:40 millert Exp $"; #include <sys/types.h> #include <ctype.h> #include <stdio.h> +#include <stdlib.h> #include <string.h> #include <math.h> #include <err.h> diff --git a/games/ppt/ppt.c b/games/ppt/ppt.c index f0bdb805f44..b2ff7dbaab9 100644 --- a/games/ppt/ppt.c +++ b/games/ppt/ppt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ppt.c,v 1.9 2003/06/03 03:01:40 millert Exp $ */ +/* $OpenBSD: ppt.c,v 1.10 2003/07/10 00:03:01 david Exp $ */ /* $NetBSD: ppt.c,v 1.4 1995/03/23 08:35:40 cgd Exp $ */ /* @@ -40,13 +40,14 @@ static const char copyright[] = #if 0 static const char sccsid[] = "@(#)ppt.c 8.1 (Berkeley) 5/31/93"; #else -static const char rcsid[] = "$OpenBSD: ppt.c,v 1.9 2003/06/03 03:01:40 millert Exp $"; +static const char rcsid[] = "$OpenBSD: ppt.c,v 1.10 2003/07/10 00:03:01 david Exp $"; #endif #endif /* not lint */ #include <sys/types.h> #include <err.h> #include <stdio.h> +#include <stdlib.h> #include <string.h> #include <unistd.h> #include <vis.h> diff --git a/games/sail/lo_main.c b/games/sail/lo_main.c index d53809549d7..f10d7b98a53 100644 --- a/games/sail/lo_main.c +++ b/games/sail/lo_main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lo_main.c,v 1.5 2003/06/03 03:01:41 millert Exp $ */ +/* $OpenBSD: lo_main.c,v 1.6 2003/07/10 00:03:01 david Exp $ */ /* $NetBSD: lo_main.c,v 1.3 1995/04/22 10:36:59 cgd Exp $ */ /* @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)lo_main.c 8.2 (Berkeley) 4/28/95"; #else -static char rcsid[] = "$OpenBSD: lo_main.c,v 1.5 2003/06/03 03:01:41 millert Exp $"; +static char rcsid[] = "$OpenBSD: lo_main.c,v 1.6 2003/07/10 00:03:01 david Exp $"; #endif #endif /* not lint */ @@ -46,6 +46,7 @@ static char rcsid[] = "$OpenBSD: lo_main.c,v 1.5 2003/06/03 03:01:41 millert Exp #include <sys/param.h> #include <sys/types.h> #include <pwd.h> +#include <stdlib.h> #include "extern.h" #include "pathnames.h" diff --git a/games/sail/pl_1.c b/games/sail/pl_1.c index 68eb82b7b48..9b975e81a5b 100644 --- a/games/sail/pl_1.c +++ b/games/sail/pl_1.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pl_1.c,v 1.7 2003/06/03 03:01:41 millert Exp $ */ +/* $OpenBSD: pl_1.c,v 1.8 2003/07/10 00:03:01 david Exp $ */ /* $NetBSD: pl_1.c,v 1.3 1995/04/22 10:37:07 cgd Exp $ */ /* @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)pl_1.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: pl_1.c,v 1.7 2003/06/03 03:01:41 millert Exp $"; +static char rcsid[] = "$OpenBSD: pl_1.c,v 1.8 2003/07/10 00:03:01 david Exp $"; #endif #endif /* not lint */ @@ -42,6 +42,7 @@ static char rcsid[] = "$OpenBSD: pl_1.c,v 1.7 2003/06/03 03:01:41 millert Exp $" #include <sys/types.h> #include <errno.h> #include <sys/wait.h> +#include <stdlib.h> #include <unistd.h> #ifndef __GNUC__ diff --git a/games/trek/computer.c b/games/trek/computer.c index 6ad947b6a4e..39ca912a5a8 100644 --- a/games/trek/computer.c +++ b/games/trek/computer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: computer.c,v 1.7 2003/06/03 03:01:41 millert Exp $ */ +/* $OpenBSD: computer.c,v 1.8 2003/07/10 00:03:01 david Exp $ */ /* $NetBSD: computer.c,v 1.4 1995/04/24 12:25:51 cgd Exp $ */ /* @@ -34,11 +34,12 @@ #if 0 static char sccsid[] = "@(#)computer.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: computer.c,v 1.7 2003/06/03 03:01:41 millert Exp $"; +static char rcsid[] = "$OpenBSD: computer.c,v 1.8 2003/07/10 00:03:01 david Exp $"; #endif #endif /* not lint */ #include <stdio.h> +#include <stdlib.h> #include <math.h> #include "trek.h" #include "getpar.h" diff --git a/games/trek/destruct.c b/games/trek/destruct.c index 1e463676c87..6a41fa15190 100644 --- a/games/trek/destruct.c +++ b/games/trek/destruct.c @@ -1,4 +1,4 @@ -/* $OpenBSD: destruct.c,v 1.5 2003/06/03 03:01:41 millert Exp $ */ +/* $OpenBSD: destruct.c,v 1.6 2003/07/10 00:03:01 david Exp $ */ /* $NetBSD: destruct.c,v 1.3 1995/04/22 10:58:44 cgd Exp $ */ /* @@ -34,11 +34,12 @@ #if 0 static char sccsid[] = "@(#)destruct.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: destruct.c,v 1.5 2003/06/03 03:01:41 millert Exp $"; +static char rcsid[] = "$OpenBSD: destruct.c,v 1.6 2003/07/10 00:03:01 david Exp $"; #endif #endif /* not lint */ #include <stdio.h> +#include <string.h> #include <unistd.h> #include "trek.h" #include "getpar.h" diff --git a/games/trek/getpar.c b/games/trek/getpar.c index fd98b2e5e90..685548a1e0c 100644 --- a/games/trek/getpar.c +++ b/games/trek/getpar.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getpar.c,v 1.11 2003/06/03 03:01:41 millert Exp $ */ +/* $OpenBSD: getpar.c,v 1.12 2003/07/10 00:03:01 david Exp $ */ /* $NetBSD: getpar.c,v 1.4 1995/04/24 12:25:57 cgd Exp $ */ /* @@ -34,11 +34,12 @@ #if 0 static char sccsid[] = "@(#)getpar.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: getpar.c,v 1.11 2003/06/03 03:01:41 millert Exp $"; +static char rcsid[] = "$OpenBSD: getpar.c,v 1.12 2003/07/10 00:03:01 david Exp $"; #endif #endif /* not lint */ #include <stdio.h> +#include <stdlib.h> #include <string.h> #include "getpar.h" #include "trek.h" diff --git a/games/trek/setup.c b/games/trek/setup.c index 0ced7eb037c..7bd262492c5 100644 --- a/games/trek/setup.c +++ b/games/trek/setup.c @@ -1,4 +1,4 @@ -/* $OpenBSD: setup.c,v 1.5 2003/06/03 03:01:42 millert Exp $ */ +/* $OpenBSD: setup.c,v 1.6 2003/07/10 00:03:01 david Exp $ */ /* $NetBSD: setup.c,v 1.4 1995/04/24 12:26:06 cgd Exp $ */ /* @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)setup.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: setup.c,v 1.5 2003/06/03 03:01:42 millert Exp $"; +static char rcsid[] = "$OpenBSD: setup.c,v 1.6 2003/07/10 00:03:01 david Exp $"; #endif #endif /* not lint */ @@ -42,6 +42,7 @@ static char rcsid[] = "$OpenBSD: setup.c,v 1.5 2003/06/03 03:01:42 millert Exp $ #include <math.h> #include <unistd.h> #include <stdlib.h> +#include <string.h> #include <err.h> #include "trek.h" #include "getpar.h" diff --git a/games/trek/torped.c b/games/trek/torped.c index ac7c14a8a5a..324585223c3 100644 --- a/games/trek/torped.c +++ b/games/trek/torped.c @@ -1,4 +1,4 @@ -/* $OpenBSD: torped.c,v 1.6 2003/06/03 03:01:42 millert Exp $ */ +/* $OpenBSD: torped.c,v 1.7 2003/07/10 00:03:01 david Exp $ */ /* $NetBSD: torped.c,v 1.3 1995/04/22 10:59:34 cgd Exp $ */ /* @@ -34,11 +34,12 @@ #if 0 static char sccsid[] = "@(#)torped.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: torped.c,v 1.6 2003/06/03 03:01:42 millert Exp $"; +static char rcsid[] = "$OpenBSD: torped.c,v 1.7 2003/07/10 00:03:01 david Exp $"; #endif #endif /* not lint */ #include <stdio.h> +#include <stdlib.h> #include <math.h> #include "trek.h" #include "getpar.h" |