summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/netbsd.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fb4c7f657e7..71c594b65ce 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
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
prototype...
* config/mips/mips.c: ... here. Make static.
diff --git a/gcc/config/netbsd.h b/gcc/config/netbsd.h
index 7b3cc3b5651..2c078af8898 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>. */