* c-cppbuiltin.c (builtin_define_std): Make non-static.
authorNeil Booth <neil@daikokuya.co.uk>
Wed, 12 Mar 2003 06:58:38 +0000 (06:58 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Wed, 12 Mar 2003 06:58:38 +0000 (06:58 +0000)
From-SVN: r64215

gcc/ChangeLog
gcc/c-cppbuiltin.c

index c9300d04a9d09356b5da7e0965cb64946e343017..4866fd99a4146a3af11dce4bb84b56ae96ab9e90 100644 (file)
@@ -1,3 +1,7 @@
+2003-03-12  Neil Booth  <neil@daikokuya.co.uk>
+
+       * c-cppbuiltin.c (builtin_define_std): Make non-static.
+
 2003-03-11  Loren James Rittle  <ljrittle@acm.org>
 
        * config/freebsd-spec.h (FBSD_CPP_PREDEFINES): Remove.
index 841f46056a6fe05d0fa3ffd54e3fd369568f5943..35c1645e6dab5d3652fee01c8afd7d9e9a4d140d 100644 (file)
@@ -36,7 +36,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #define REGISTER_PREFIX ""
 #endif
 
-static void builtin_define_std PARAMS ((const char *)) ATTRIBUTE_UNUSED;
+/* Non-static as some targets don't use it.  */
+void builtin_define_std PARAMS ((const char *)) ATTRIBUTE_UNUSED;
 static void builtin_define_with_value_n PARAMS ((const char *, const char *,
                                                 size_t));
 static void builtin_define_with_int_value PARAMS ((const char *,
@@ -393,7 +394,7 @@ cb_register_builtins (pfile)
    e.g. passing "unix" defines "__unix", "__unix__" and possibly
    "unix".  Passing "_mips" defines "__mips", "__mips__" and possibly
    "_mips".  */
-static void
+void
 builtin_define_std (macro)
      const char *macro;
 {