--- bfd/bfd-in2.h.orig	2012-11-09 01:24:08.000000000 +0900
+++ bfd/bfd-in2.h	2012-11-09 01:25:43.000000000 +0900
@@ -701,20 +701,26 @@
 /* ARM Interworking support.  Called from linker.  */
 #ifdef COFF_IMAGE_WITH_PE
 static
+#else
+extern
 #endif
-extern boolean bfd_arm_allocate_interworking_sections
+boolean bfd_arm_allocate_interworking_sections
   PARAMS ((struct bfd_link_info *));
 
 #ifdef COFF_IMAGE_WITH_PE
 static
+#else
+extern
 #endif
-extern boolean bfd_arm_process_before_allocation
+boolean bfd_arm_process_before_allocation
   PARAMS ((bfd *, struct bfd_link_info *, int));
 
 #ifdef COFF_IMAGE_WITH_PE
 static
+#else
+extern
 #endif
-extern boolean bfd_arm_get_bfd_for_interworking
+boolean bfd_arm_get_bfd_for_interworking
   PARAMS ((bfd *, struct bfd_link_info *));
 
 /* And more from the source.  */
