summaryrefslogtreecommitdiffstats
path: root/sail
diff options
context:
space:
mode:
authorcgd <cgd@NetBSD.org>2001-01-16 02:44:43 +0000
committercgd <cgd@NetBSD.org>2001-01-16 02:44:43 +0000
commit20527b9cee44c67025053db6f9949df9a3d8f630 (patch)
tree40c434e4da7c02f778fa7de3c8982baf5003eab4 /sail
parent3930882ae2607ed6e84b7e01af5c2b18c4d2c7c3 (diff)
downloadbsdgames-darwin-20527b9cee44c67025053db6f9949df9a3d8f630.tar.gz
bsdgames-darwin-20527b9cee44c67025053db6f9949df9a3d8f630.tar.zst
bsdgames-darwin-20527b9cee44c67025053db6f9949df9a3d8f630.zip
include stdlib.h for prototypes (typically for exit()).
Diffstat (limited to 'sail')
-rw-r--r--sail/lo_main.c5
-rw-r--r--sail/pl_1.c5
-rw-r--r--sail/pl_7.c5
3 files changed, 9 insertions, 6 deletions
diff --git a/sail/lo_main.c b/sail/lo_main.c
index 3b91644d..71ea1a49 100644
--- a/sail/lo_main.c
+++ b/sail/lo_main.c
@@ -1,4 +1,4 @@
-/* $NetBSD: lo_main.c,v 1.9 2001/01/04 03:21:17 jwise Exp $ */
+/* $NetBSD: lo_main.c,v 1.10 2001/01/16 02:44:43 cgd 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.9 2001/01/04 03:21:17 jwise Exp $");
+__RCSID("$NetBSD: lo_main.c,v 1.10 2001/01/16 02:44:43 cgd Exp $");
#endif
#endif /* not lint */
@@ -49,6 +49,7 @@ __RCSID("$NetBSD: lo_main.c,v 1.9 2001/01/04 03:21:17 jwise Exp $");
*/
#include <stdio.h>
+#include <stdlib.h>
#include <pwd.h>
#include "extern.h"
#include "pathnames.h"
diff --git a/sail/pl_1.c b/sail/pl_1.c
index 33b1a686..c99d76bc 100644
--- a/sail/pl_1.c
+++ b/sail/pl_1.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pl_1.c,v 1.14 2001/01/04 05:34:56 jwise Exp $ */
+/* $NetBSD: pl_1.c,v 1.15 2001/01/16 02:44:43 cgd Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)pl_1.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: pl_1.c,v 1.14 2001/01/04 05:34:56 jwise Exp $");
+__RCSID("$NetBSD: pl_1.c,v 1.15 2001/01/16 02:44:43 cgd Exp $");
#endif
#endif /* not lint */
@@ -46,6 +46,7 @@ __RCSID("$NetBSD: pl_1.c,v 1.14 2001/01/04 05:34:56 jwise Exp $");
#include <sys/wait.h>
#include <signal.h>
#include <stdio.h>
+#include <stdlib.h>
#include <unistd.h>
#include "extern.h"
#include "player.h"
diff --git a/sail/pl_7.c b/sail/pl_7.c
index 2cdba567..5071eeb2 100644
--- a/sail/pl_7.c
+++ b/sail/pl_7.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pl_7.c,v 1.22 2001/01/04 06:33:18 itojun Exp $ */
+/* $NetBSD: pl_7.c,v 1.23 2001/01/16 02:44:43 cgd 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.22 2001/01/04 06:33:18 itojun Exp $");
+__RCSID("$NetBSD: pl_7.c,v 1.23 2001/01/16 02:44:43 cgd Exp $");
#endif
#endif /* not lint */
@@ -46,6 +46,7 @@ __RCSID("$NetBSD: pl_7.c,v 1.22 2001/01/04 06:33:18 itojun Exp $");
#include <signal.h>
#include <stdarg.h>
#include <stdio.h>
+#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include "extern.h"