diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/c-cppbuiltin.c | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c9300d0..4866fd99 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/c-cppbuiltin.c b/gcc/c-cppbuiltin.c index 841f460..35c1645 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; { |