From 21282b1e9210c0df065ef4bb38a7cfbaa2c47d06 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Wed, 12 Mar 2003 06:58:38 +0000 Subject: [PATCH] * c-cppbuiltin.c (builtin_define_std): Make non-static. From-SVN: r64215 --- gcc/ChangeLog | 4 ++++ gcc/c-cppbuiltin.c | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c9300d04a9d..4866fd99a41 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-03-12 Neil Booth + + * c-cppbuiltin.c (builtin_define_std): Make non-static. + 2003-03-11 Loren James Rittle * config/freebsd-spec.h (FBSD_CPP_PREDEFINES): Remove. diff --git a/gcc/c-cppbuiltin.c b/gcc/c-cppbuiltin.c index 841f46056a6..35c1645e6da 100644 --- a/gcc/c-cppbuiltin.c +++ b/gcc/c-cppbuiltin.c @@ -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; { -- 2.30.2