From 43def5730da99f02e97c5f7931228e4a37f2cd3f Mon Sep 17 00:00:00 2001 From: matt Date: Mon, 3 Jul 2000 03:57:39 +0000 Subject: More include additions for exit, abs, strcmp, etc. --- adventure/done.c | 5 +++-- adventure/main.c | 5 +++-- adventure/subr.c | 5 +++-- bcd/bcd.c | 5 +++-- canfield/cfscores/cfscores.c | 6 ++++-- gomoku/stoc.c | 5 +++-- hack/hack.h | 3 ++- hunt/huntd/get_names.c | 5 +++-- larn/diag.c | 5 +++-- morse/morse.c | 5 +++-- ppt/ppt.c | 5 +++-- rogue/init.c | 5 +++-- sail/lo_main.c | 5 +++-- sail/pl_1.c | 5 +++-- sail/pl_7.c | 5 +++-- trek/computer.c | 5 +++-- trek/destruct.c | 5 +++-- trek/getpar.c | 5 +++-- trek/setup.c | 5 +++-- trek/torped.c | 5 +++-- 20 files changed, 60 insertions(+), 39 deletions(-) diff --git a/adventure/done.c b/adventure/done.c index 6d2856bc..eb5def89 100644 --- a/adventure/done.c +++ b/adventure/done.c @@ -1,4 +1,4 @@ -/* $NetBSD: done.c,v 1.6 1998/09/13 15:21:36 hubertf Exp $ */ +/* $NetBSD: done.c,v 1.7 2000/07/03 03:57:39 matt Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -43,13 +43,14 @@ #if 0 static char sccsid[] = "@(#)done.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: done.c,v 1.6 1998/09/13 15:21:36 hubertf Exp $"); +__RCSID("$NetBSD: done.c,v 1.7 2000/07/03 03:57:39 matt Exp $"); #endif #endif /* not lint */ /* Re-coding of advent in C: termination routines */ #include +#include #include "hdr.h" #include "extern.h" diff --git a/adventure/main.c b/adventure/main.c index cd587fd1..0319ad61 100644 --- a/adventure/main.c +++ b/adventure/main.c @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.15 2000/05/08 07:55:59 mycroft Exp $ */ +/* $NetBSD: main.c,v 1.16 2000/07/03 03:57:39 matt Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -48,7 +48,7 @@ __COPYRIGHT("@(#) Copyright (c) 1991, 1993\n\ #if 0 static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/2/93"; #else -__RCSID("$NetBSD: main.c,v 1.15 2000/05/08 07:55:59 mycroft Exp $"); +__RCSID("$NetBSD: main.c,v 1.16 2000/07/03 03:57:39 matt Exp $"); #endif #endif /* not lint */ @@ -58,6 +58,7 @@ __RCSID("$NetBSD: main.c,v 1.15 2000/05/08 07:55:59 mycroft Exp $"); #include #include #include +#include #include #include "hdr.h" #include "extern.h" diff --git a/adventure/subr.c b/adventure/subr.c index 1c878be7..6a05a3ea 100644 --- a/adventure/subr.c +++ b/adventure/subr.c @@ -1,4 +1,4 @@ -/* $NetBSD: subr.c,v 1.8 1998/09/14 09:29:08 hubertf Exp $ */ +/* $NetBSD: subr.c,v 1.9 2000/07/03 03:57:39 matt Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -43,13 +43,14 @@ #if 0 static char sccsid[] = "@(#)subr.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: subr.c,v 1.8 1998/09/14 09:29:08 hubertf Exp $"); +__RCSID("$NetBSD: subr.c,v 1.9 2000/07/03 03:57:39 matt Exp $"); #endif #endif /* not lint */ /* Re-coding of advent in C: subroutines from main */ #include +#include #include "hdr.h" #include "extern.h" diff --git a/bcd/bcd.c b/bcd/bcd.c index 8ee03447..6cc595a0 100644 --- a/bcd/bcd.c +++ b/bcd/bcd.c @@ -1,4 +1,4 @@ -/* $NetBSD: bcd.c,v 1.10 2000/05/08 07:56:02 mycroft Exp $ */ +/* $NetBSD: bcd.c,v 1.11 2000/07/03 03:57:40 matt Exp $ */ /* * Copyright (c) 1989, 1993 @@ -46,7 +46,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\n\ #if 0 static char sccsid[] = "@(#)bcd.c 8.2 (Berkeley) 3/20/94"; #else -__RCSID("$NetBSD: bcd.c,v 1.10 2000/05/08 07:56:02 mycroft Exp $"); +__RCSID("$NetBSD: bcd.c,v 1.11 2000/07/03 03:57:40 matt Exp $"); #endif #endif /* not lint */ @@ -83,6 +83,7 @@ __RCSID("$NetBSD: bcd.c,v 1.10 2000/05/08 07:56:02 mycroft Exp $"); #include #include +#include #include #include #include diff --git a/canfield/cfscores/cfscores.c b/canfield/cfscores/cfscores.c index 4a9a73d7..a506e9ba 100644 --- a/canfield/cfscores/cfscores.c +++ b/canfield/cfscores/cfscores.c @@ -1,4 +1,4 @@ -/* $NetBSD: cfscores.c,v 1.9 2000/05/08 07:56:03 mycroft Exp $ */ +/* $NetBSD: cfscores.c,v 1.10 2000/07/03 03:57:40 matt Exp $ */ /* * Copyright (c) 1983, 1993 @@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1993\n\ #if 0 static char sccsid[] = "@(#)cfscores.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: cfscores.c,v 1.9 2000/05/08 07:56:03 mycroft Exp $"); +__RCSID("$NetBSD: cfscores.c,v 1.10 2000/07/03 03:57:40 matt Exp $"); #endif #endif /* not lint */ @@ -52,6 +52,8 @@ __RCSID("$NetBSD: cfscores.c,v 1.9 2000/05/08 07:56:03 mycroft Exp $"); #include #include #include +#include +#include #include #include "pathnames.h" diff --git a/gomoku/stoc.c b/gomoku/stoc.c index ccfd164a..a9fbef5f 100644 --- a/gomoku/stoc.c +++ b/gomoku/stoc.c @@ -1,4 +1,4 @@ -/* $NetBSD: stoc.c,v 1.5 1999/09/08 21:17:50 jsm Exp $ */ +/* $NetBSD: stoc.c,v 1.6 2000/07/03 03:57:41 matt Exp $ */ /* * Copyright (c) 1994 @@ -41,12 +41,13 @@ #if 0 static char sccsid[] = "@(#)stoc.c 8.1 (Berkeley) 7/24/94"; #else -__RCSID("$NetBSD: stoc.c,v 1.5 1999/09/08 21:17:50 jsm Exp $"); +__RCSID("$NetBSD: stoc.c,v 1.6 2000/07/03 03:57:41 matt Exp $"); #endif #endif /* not lint */ #include #include +#include #include "gomoku.h" const char *letters = ""; diff --git a/hack/hack.h b/hack/hack.h index eb0f785d..017da4b5 100644 --- a/hack/hack.h +++ b/hack/hack.h @@ -1,4 +1,4 @@ -/* $NetBSD: hack.h,v 1.4 1997/10/19 16:58:02 christos Exp $ */ +/* $NetBSD: hack.h,v 1.5 2000/07/03 03:57:41 matt Exp $ */ /* * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. @@ -7,6 +7,7 @@ #define _HACK_H_ #include "config.h" +#include #include #ifndef BSD diff --git a/hunt/huntd/get_names.c b/hunt/huntd/get_names.c index 3e358e4f..34e176b0 100644 --- a/hunt/huntd/get_names.c +++ b/hunt/huntd/get_names.c @@ -1,4 +1,4 @@ -/* $NetBSD: get_names.c,v 1.3 1998/07/06 07:00:31 mrg Exp $ */ +/* $NetBSD: get_names.c,v 1.4 2000/07/03 03:57:41 matt Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. * All rights reserved. The Berkeley software License Agreement @@ -7,7 +7,7 @@ #include #ifndef lint -__RCSID("$NetBSD: get_names.c,v 1.3 1998/07/06 07:00:31 mrg Exp $"); +__RCSID("$NetBSD: get_names.c,v 1.4 2000/07/03 03:57:41 matt Exp $"); #endif /* not lint */ #include "bsd.h" @@ -17,6 +17,7 @@ __RCSID("$NetBSD: get_names.c,v 1.3 1998/07/06 07:00:31 mrg Exp $"); # include # include # include +# include # include # include # include "hunt.h" diff --git a/larn/diag.c b/larn/diag.c index 3e32d56c..7982e23b 100644 --- a/larn/diag.c +++ b/larn/diag.c @@ -1,15 +1,16 @@ -/* $NetBSD: diag.c,v 1.8 1997/10/18 20:03:12 christos Exp $ */ +/* $NetBSD: diag.c,v 1.9 2000/07/03 03:57:42 matt Exp $ */ /* diag.c Larn is copyrighted 1986 by Noah Morgan. */ #include #ifndef lint -__RCSID("$NetBSD: diag.c,v 1.8 1997/10/18 20:03:12 christos Exp $"); +__RCSID("$NetBSD: diag.c,v 1.9 2000/07/03 03:57:42 matt Exp $"); #endif /* not lint */ #include #include #include #include +#include #include #include "header.h" #include "extern.h" diff --git a/morse/morse.c b/morse/morse.c index 1b7dc5c2..f97de689 100644 --- a/morse/morse.c +++ b/morse/morse.c @@ -1,4 +1,4 @@ -/* $NetBSD: morse.c,v 1.9 2000/05/08 07:56:04 mycroft Exp $ */ +/* $NetBSD: morse.c,v 1.10 2000/07/03 03:57:42 matt Exp $ */ /* * Copyright (c) 1988, 1993 @@ -43,12 +43,13 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 1993\n\ #if 0 static char sccsid[] = "@(#)morse.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: morse.c,v 1.9 2000/05/08 07:56:04 mycroft Exp $"); +__RCSID("$NetBSD: morse.c,v 1.10 2000/07/03 03:57:42 matt Exp $"); #endif #endif /* not lint */ #include #include +#include #include #include diff --git a/ppt/ppt.c b/ppt/ppt.c index 55d22aca..a69a7b27 100644 --- a/ppt/ppt.c +++ b/ppt/ppt.c @@ -1,4 +1,4 @@ -/* $NetBSD: ppt.c,v 1.8 2000/05/08 07:56:04 mycroft Exp $ */ +/* $NetBSD: ppt.c,v 1.9 2000/07/03 03:57:43 matt Exp $ */ /* * Copyright (c) 1988, 1993 @@ -43,11 +43,12 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 1993\n\ #if 0 static char sccsid[] = "@(#)ppt.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: ppt.c,v 1.8 2000/05/08 07:56:04 mycroft Exp $"); +__RCSID("$NetBSD: ppt.c,v 1.9 2000/07/03 03:57:43 matt Exp $"); #endif #endif /* not lint */ #include +#include #include int main __P((int, char *[])); diff --git a/rogue/init.c b/rogue/init.c index afa5245c..d330b2ac 100644 --- a/rogue/init.c +++ b/rogue/init.c @@ -1,4 +1,4 @@ -/* $NetBSD: init.c,v 1.10 1999/09/12 09:02:23 jsm Exp $ */ +/* $NetBSD: init.c,v 1.11 2000/07/03 03:57:43 matt Exp $ */ /* * Copyright (c) 1988, 1993 @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "@(#)init.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: init.c,v 1.10 1999/09/12 09:02:23 jsm Exp $"); +__RCSID("$NetBSD: init.c,v 1.11 2000/07/03 03:57:43 matt Exp $"); #endif #endif /* not lint */ @@ -57,6 +57,7 @@ __RCSID("$NetBSD: init.c,v 1.10 1999/09/12 09:02:23 jsm Exp $"); * */ +#include #include #include "rogue.h" diff --git a/sail/lo_main.c b/sail/lo_main.c index 71f3f099..3909864e 100644 --- a/sail/lo_main.c +++ b/sail/lo_main.c @@ -1,4 +1,4 @@ -/* $NetBSD: lo_main.c,v 1.6 1999/09/08 21:17:59 jsm Exp $ */ +/* $NetBSD: lo_main.c,v 1.7 2000/07/03 03:57:43 matt Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)lo_main.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: lo_main.c,v 1.6 1999/09/08 21:17:59 jsm Exp $"); +__RCSID("$NetBSD: lo_main.c,v 1.7 2000/07/03 03:57:43 matt Exp $"); #endif #endif /* not lint */ @@ -48,6 +48,7 @@ __RCSID("$NetBSD: lo_main.c,v 1.6 1999/09/08 21:17:59 jsm Exp $"); * -l force a long listing (print out real usernames) */ #include +#include #include #include "extern.h" #include "pathnames.h" diff --git a/sail/pl_1.c b/sail/pl_1.c index b9512e47..fe1b008f 100644 --- a/sail/pl_1.c +++ b/sail/pl_1.c @@ -1,4 +1,4 @@ -/* $NetBSD: pl_1.c,v 1.7 1999/09/08 21:45:30 jsm Exp $ */ +/* $NetBSD: pl_1.c,v 1.8 2000/07/03 03:57:43 matt Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,13 +38,14 @@ #if 0 static char sccsid[] = "@(#)pl_1.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: pl_1.c,v 1.7 1999/09/08 21:45:30 jsm Exp $"); +__RCSID("$NetBSD: pl_1.c,v 1.8 2000/07/03 03:57:43 matt Exp $"); #endif #endif /* not lint */ #include "player.h" #include #include +#include #include /* diff --git a/sail/pl_7.c b/sail/pl_7.c index db229d1c..1679b10b 100644 --- a/sail/pl_7.c +++ b/sail/pl_7.c @@ -1,4 +1,4 @@ -/* $NetBSD: pl_7.c,v 1.14 2000/01/31 11:08:53 jsm Exp $ */ +/* $NetBSD: pl_7.c,v 1.15 2000/07/03 03:57:44 matt Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)pl_7.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: pl_7.c,v 1.14 2000/01/31 11:08:53 jsm Exp $"); +__RCSID("$NetBSD: pl_7.c,v 1.15 2000/07/03 03:57:44 matt Exp $"); #endif #endif /* not lint */ @@ -49,6 +49,7 @@ __RCSID("$NetBSD: pl_7.c,v 1.14 2000/01/31 11:08:53 jsm Exp $"); #else #include #endif +#include #include diff --git a/trek/computer.c b/trek/computer.c index d6ebe9cb..d7bf7ea6 100644 --- a/trek/computer.c +++ b/trek/computer.c @@ -1,4 +1,4 @@ -/* $NetBSD: computer.c,v 1.7 1999/09/08 21:45:32 jsm Exp $ */ +/* $NetBSD: computer.c,v 1.8 2000/07/03 03:57:44 matt Exp $ */ /* * Copyright (c) 1980, 1993 @@ -38,11 +38,12 @@ #if 0 static char sccsid[] = "@(#)computer.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: computer.c,v 1.7 1999/09/08 21:45:32 jsm Exp $"); +__RCSID("$NetBSD: computer.c,v 1.8 2000/07/03 03:57:44 matt Exp $"); #endif #endif /* not lint */ #include +#include #include #include "trek.h" #include "getpar.h" diff --git a/trek/destruct.c b/trek/destruct.c index eac87c53..e3c6729f 100644 --- a/trek/destruct.c +++ b/trek/destruct.c @@ -1,4 +1,4 @@ -/* $NetBSD: destruct.c,v 1.5 1999/09/08 21:45:32 jsm Exp $ */ +/* $NetBSD: destruct.c,v 1.6 2000/07/03 03:57:44 matt Exp $ */ /* * Copyright (c) 1980, 1993 @@ -38,11 +38,12 @@ #if 0 static char sccsid[] = "@(#)destruct.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: destruct.c,v 1.5 1999/09/08 21:45:32 jsm Exp $"); +__RCSID("$NetBSD: destruct.c,v 1.6 2000/07/03 03:57:44 matt Exp $"); #endif #endif /* not lint */ #include +#include #include #include "trek.h" #include "getpar.h" diff --git a/trek/getpar.c b/trek/getpar.c index df0c820b..7c13b914 100644 --- a/trek/getpar.c +++ b/trek/getpar.c @@ -1,4 +1,4 @@ -/* $NetBSD: getpar.c,v 1.7 1999/07/21 13:19:10 hubertf Exp $ */ +/* $NetBSD: getpar.c,v 1.8 2000/07/03 03:57:44 matt Exp $ */ /* * Copyright (c) 1980, 1993 @@ -38,11 +38,12 @@ #if 0 static char sccsid[] = "@(#)getpar.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: getpar.c,v 1.7 1999/07/21 13:19:10 hubertf Exp $"); +__RCSID("$NetBSD: getpar.c,v 1.8 2000/07/03 03:57:44 matt Exp $"); #endif #endif /* not lint */ #include +#include #include #include "getpar.h" #include "trek.h" diff --git a/trek/setup.c b/trek/setup.c index f2596371..41875b9a 100644 --- a/trek/setup.c +++ b/trek/setup.c @@ -1,4 +1,4 @@ -/* $NetBSD: setup.c,v 1.6 1999/07/21 13:19:11 hubertf Exp $ */ +/* $NetBSD: setup.c,v 1.7 2000/07/03 03:57:44 matt Exp $ */ /* * Copyright (c) 1980, 1993 @@ -38,12 +38,13 @@ #if 0 static char sccsid[] = "@(#)setup.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: setup.c,v 1.6 1999/07/21 13:19:11 hubertf Exp $"); +__RCSID("$NetBSD: setup.c,v 1.7 2000/07/03 03:57:44 matt Exp $"); #endif #endif /* not lint */ #include #include +#include #include #include #include diff --git a/trek/torped.c b/trek/torped.c index b48199bb..d2305ca2 100644 --- a/trek/torped.c +++ b/trek/torped.c @@ -1,4 +1,4 @@ -/* $NetBSD: torped.c,v 1.5 1999/09/08 21:45:33 jsm Exp $ */ +/* $NetBSD: torped.c,v 1.6 2000/07/03 03:57:44 matt Exp $ */ /* * Copyright (c) 1980, 1993 @@ -38,11 +38,12 @@ #if 0 static char sccsid[] = "@(#)torped.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: torped.c,v 1.5 1999/09/08 21:45:33 jsm Exp $"); +__RCSID("$NetBSD: torped.c,v 1.6 2000/07/03 03:57:44 matt Exp $"); #endif #endif /* not lint */ #include +#include #include #include "trek.h" #include "getpar.h" -- cgit v1.2.3-56-ge451