diff options
| author | cgd <cgd@NetBSD.org> | 1997-01-03 01:16:04 +0000 |
|---|---|---|
| committer | cgd <cgd@NetBSD.org> | 1997-01-03 01:16:04 +0000 |
| commit | 2eea7d5e1546916f5471a5b4008ffc6d787253d7 (patch) | |
| tree | 008c4b6b577ed2181d12366d78c53f6617e94a1c | |
| parent | 2639cd3baff9d81deafb352aebcb4ec0fbb12f4e (diff) | |
| download | bsdgames-darwin-2eea7d5e1546916f5471a5b4008ffc6d787253d7.tar.gz bsdgames-darwin-2eea7d5e1546916f5471a5b4008ffc6d787253d7.zip | |
include string.h and stdlib.h for prototypes, as appropriate
| -rw-r--r-- | gomoku/bdisp.c | 5 | ||||
| -rw-r--r-- | gomoku/pickmove.c | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/gomoku/bdisp.c b/gomoku/bdisp.c index bcb62c8e..04710903 100644 --- a/gomoku/bdisp.c +++ b/gomoku/bdisp.c @@ -1,4 +1,4 @@ -/* $NetBSD: bdisp.c,v 1.2 1996/12/28 18:56:59 tls Exp $ +/* $NetBSD: bdisp.c,v 1.3 1997/01/03 01:16:04 cgd Exp $ */ /* * Copyright (c) 1994 @@ -40,12 +40,13 @@ #if 0 static char sccsid[] = "@(#)bdisp.c 8.2 (Berkeley) 5/3/95"; #else -static char rcsid[] = "$NetBSD: bdisp.c,v 1.2 1996/12/28 18:56:59 tls Exp $"; +static char rcsid[] = "$NetBSD: bdisp.c,v 1.3 1997/01/03 01:16:04 cgd Exp $"; #endif #endif /* not lint */ #include "gomoku.h" #include <stdio.h> +#include <string.h> #include <curses.h> #define SCRNH 24 /* assume 24 lines for the moment */ diff --git a/gomoku/pickmove.c b/gomoku/pickmove.c index ce5d335f..e4898d07 100644 --- a/gomoku/pickmove.c +++ b/gomoku/pickmove.c @@ -1,4 +1,4 @@ -/* $NetBSD: pickmove.c,v 1.2 1996/12/28 18:57:04 tls Exp $ +/* $NetBSD: pickmove.c,v 1.3 1997/01/03 01:16:05 cgd Exp $ */ /* * Copyright (c) 1994 @@ -40,11 +40,13 @@ #if 0 static char sccsid[] = "@(#)pickmove.c 8.2 (Berkeley) 5/3/95"; #else -static char rcsid[] = "$NetBSD: pickmove.c,v 1.2 1996/12/28 18:57:04 tls Exp $"; +static char rcsid[] = "$NetBSD: pickmove.c,v 1.3 1997/01/03 01:16:05 cgd Exp $"; #endif #endif /* not lint */ #include <stdio.h> +#include <stdlib.h> +#include <string.h> #include <curses.h> #include <machine/limits.h> |
