-/* $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
#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 <stdio.h>
+#include <stdlib.h>
#include "hdr.h"
#include "extern.h"
-/* $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
#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 */
#include <err.h>
#include <signal.h>
#include <stdio.h>
+#include <stdlib.h>
#include <unistd.h>
#include "hdr.h"
#include "extern.h"
-/* $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
#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 <stdio.h>
+#include <stdlib.h>
#include "hdr.h"
#include "extern.h"
-/* $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
#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 */
#include <sys/types.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <unistd.h>
-/* $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
#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 */
#include <fcntl.h>
#include <pwd.h>
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include "pathnames.h"
-/* $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
#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 <ctype.h>
#include <stdlib.h>
+#include <string.h>
#include "gomoku.h"
const char *letters = "<ABCDEFGHJKLMNOPQRST>";
-/* $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.
#define _HACK_H_
#include "config.h"
+#include <stdlib.h>
#include <string.h>
#ifndef BSD
-/* $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
#include <sys/cdefs.h>
#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"
# include <sys/param.h>
# include <netdb.h>
# include <stdio.h>
+# include <stdlib.h>
# include <string.h>
# include <unistd.h>
# include "hunt.h"
-/* $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 <sys/cdefs.h>
#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 <sys/types.h>
#include <sys/times.h>
#include <sys/stat.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include "header.h"
#include "extern.h"
-/* $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
#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 <ctype.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-/* $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
#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 <stdio.h>
+#include <stdlib.h>
#include <unistd.h>
int main __P((int, char *[]));
-/* $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
#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 */
*
*/
+#include <stdlib.h>
#include <fcntl.h>
#include "rogue.h"
-/* $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
#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 */
* -l force a long listing (print out real usernames)
*/
#include <sys/types.h>
+#include <stdlib.h>
#include <pwd.h>
#include "extern.h"
#include "pathnames.h"
-/* $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
#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 <sys/types.h>
#include <sys/wait.h>
+#include <stdlib.h>
#include <unistd.h>
/*
-/* $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
#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 */
#else
#include <varargs.h>
#endif
+#include <stdlib.h>
#include <unistd.h>
-/* $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
#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 <stdio.h>
+#include <stdlib.h>
#include <math.h>
#include "trek.h"
#include "getpar.h"
-/* $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
#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 <stdio.h>
+#include <string.h>
#include <unistd.h>
#include "trek.h"
#include "getpar.h"
-/* $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
#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 <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include "getpar.h"
#include "trek.h"
-/* $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
#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 <stdio.h>
#include <math.h>
+#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <err.h>
-/* $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
#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 <stdio.h>
+#include <stdlib.h>
#include <math.h>
#include "trek.h"
#include "getpar.h"