summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2001-05-29 12:17:07 +0000
committerMarc Espie <espie@cvs.openbsd.org>2001-05-29 12:17:07 +0000
commit5e05b0d0c294214816bc9a4ca786466d04f631c8 (patch)
tree926684253c5291dbc849db172637f15f173b2fbd
parent9177b8f6bc51676f77ea6cdec71a6f09e1d5a2aa (diff)
Blech! gcc is a stupid program. Compiling with -fno-builtin shows lots
of missing function declarations.
-rw-r--r--usr.bin/make/buf.c3
-rw-r--r--usr.bin/make/compat.c3
-rw-r--r--usr.bin/make/error.c3
-rw-r--r--usr.bin/make/lowparse.c3
-rw-r--r--usr.bin/make/targ.c3
5 files changed, 10 insertions, 5 deletions
diff --git a/usr.bin/make/buf.c b/usr.bin/make/buf.c
index 0dd0a93ecbb..36f69874e84 100644
--- a/usr.bin/make/buf.c
+++ b/usr.bin/make/buf.c
@@ -1,5 +1,5 @@
/* $OpenPackages$ */
-/* $OpenBSD: buf.c,v 1.16 2001/05/23 12:34:40 espie Exp $ */
+/* $OpenBSD: buf.c,v 1.17 2001/05/29 12:17:03 espie Exp $ */
/* $NetBSD: buf.c,v 1.9 1996/12/31 17:53:21 christos Exp $ */
/*
@@ -73,6 +73,7 @@
#include <ctype.h>
#include <stddef.h>
+#include <string.h>
#include "config.h"
#include "defines.h"
#include "buf.h"
diff --git a/usr.bin/make/compat.c b/usr.bin/make/compat.c
index c43c4e1a027..5c937a8ecda 100644
--- a/usr.bin/make/compat.c
+++ b/usr.bin/make/compat.c
@@ -1,5 +1,5 @@
/* $OpenPackages$ */
-/* $OpenBSD: compat.c,v 1.37 2001/05/23 12:34:40 espie Exp $ */
+/* $OpenBSD: compat.c,v 1.38 2001/05/29 12:17:05 espie Exp $ */
/* $NetBSD: compat.c,v 1.14 1996/11/06 17:59:01 christos Exp $ */
/*
@@ -48,6 +48,7 @@
#include <signal.h>
#include <stddef.h>
#include <stdio.h>
+#include <string.h>
#include <unistd.h>
#include "config.h"
#include "defines.h"
diff --git a/usr.bin/make/error.c b/usr.bin/make/error.c
index b4fd3805249..ddcc8c072a0 100644
--- a/usr.bin/make/error.c
+++ b/usr.bin/make/error.c
@@ -1,5 +1,5 @@
/* $OpenPackages$ */
-/* $OpenBSD: error.c,v 1.6 2001/05/23 12:34:42 espie Exp $ */
+/* $OpenBSD: error.c,v 1.7 2001/05/29 12:17:05 espie Exp $ */
/*
* Copyright (c) 2001 Marc Espie.
@@ -32,6 +32,7 @@
#endif
#include <stdio.h>
+#include <stdlib.h>
#include "config.h"
#include "defines.h"
diff --git a/usr.bin/make/lowparse.c b/usr.bin/make/lowparse.c
index a837fb179ad..832849a98c2 100644
--- a/usr.bin/make/lowparse.c
+++ b/usr.bin/make/lowparse.c
@@ -1,5 +1,5 @@
/* $OpenPackages$ */
-/* $OpenBSD: lowparse.c,v 1.9 2001/05/23 12:34:45 espie Exp $ */
+/* $OpenBSD: lowparse.c,v 1.10 2001/05/29 12:17:05 espie Exp $ */
/* low-level parsing functions. */
@@ -33,6 +33,7 @@
#include <assert.h>
#include <stddef.h>
#include <stdio.h>
+#include <string.h>
#include <unistd.h>
#include "config.h"
#include "defines.h"
diff --git a/usr.bin/make/targ.c b/usr.bin/make/targ.c
index 292e01c2c36..c259ff41d45 100644
--- a/usr.bin/make/targ.c
+++ b/usr.bin/make/targ.c
@@ -1,5 +1,5 @@
/* $OpenPackages$ */
-/* $OpenBSD: targ.c,v 1.32 2001/05/23 12:34:50 espie Exp $ */
+/* $OpenBSD: targ.c,v 1.33 2001/05/29 12:17:06 espie Exp $ */
/* $NetBSD: targ.c,v 1.11 1997/02/20 16:51:50 christos Exp $ */
/*
@@ -105,6 +105,7 @@
#include <sys/types.h>
#include <stddef.h>
#include <stdio.h>
+#include <string.h>
#include "config.h"
#include "defines.h"
#include "ohash.h"