From 67225a62085350b09095dd386e8acb6107fed7b4 Mon Sep 17 00:00:00 2001
From: echristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Tue, 7 Dec 2004 22:47:41 +0000
Subject: [PATCH] 2004-12-07  Eric Christopher  <echristo@redhat.com>

	PR target/16317
	* config/netbsd.h (NO_IMPLICIT_EXTERN_C): Define.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91831 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/ChangeLog       | 5 +++++
 gcc/config/netbsd.h | 3 +++
 2 files changed, 8 insertions(+)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fb4c7f657e70..71c594b65ce5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-12-07  Eric Christopher  <echristo@redhat.com>
+
+	PR target/16317
+	* config/netbsd.h (NO_IMPLICIT_EXTERN_C): Define.
+
 2004-12-07  Eric Christopher  <echristo@redhat.com>
 
 	* config/mips/mips-protos.h (mips_valid_pointer_mode): Move
diff --git a/gcc/config/netbsd.h b/gcc/config/netbsd.h
index 7b3cc3b56518..2c078af88987 100644
--- a/gcc/config/netbsd.h
+++ b/gcc/config/netbsd.h
@@ -163,6 +163,9 @@ Boston, MA 02111-1307, USA.  */
 
 #define HANDLE_SYSV_PRAGMA 1
 
+/* Don't assume anything about the header files.  */
+#undef  NO_IMPLICIT_EXTERN_C
+#define NO_IMPLICIT_EXTERN_C    1
 
 /* Define some types that are the same on all NetBSD platforms,
    making them agree with <machine/ansi.h>.  */
-- 
GitLab