aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2003-05-02 18:36:50 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2003-05-02 18:36:50 +0000
commitb86fe7b49295de2c6bab4e8c21a83471fc02d7dc (patch)
tree88f2f2398b414a8f6d8ec9a426c12d47aa1ad9a2
parent0992fb51aea47618632be0af826111ce60c8d122 (diff)
downloadgcc-b86fe7b49295de2c6bab4e8c21a83471fc02d7dc.zip
gcc-b86fe7b49295de2c6bab4e8c21a83471fc02d7dc.tar.gz
gcc-b86fe7b49295de2c6bab4e8c21a83471fc02d7dc.tar.bz2
rs6000.c (rs6000_attribute_table): Add 'extern' to tentative declaration.
* config/rs6000/rs6000.c (rs6000_attribute_table): Add 'extern' to tentative declaration. From-SVN: r66396
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/config/rs6000/rs6000.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6b86913..965e552 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
2003-05-02 Geoffrey Keating <geoffk@apple.com>
+ * config/rs6000/rs6000.c (rs6000_attribute_table): Add 'extern'
+ to tentative declaration.
+
* config/rs6000/sysv4.h (SYMBOL_FLAG_SMALL_V4): Delete.
(SYMBOL_FLAG_SMALL_V4): Delete.
* config/rs6000/rs6000.c (small_data_operand): Use SYMBOL_REF_SMALL_P.
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index c63e406..ae4c3a0 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -211,7 +211,7 @@ static void rs6000_assemble_visibility PARAMS ((tree, int));
#endif
static int rs6000_ra_ever_killed PARAMS ((void));
static tree rs6000_handle_longcall_attribute PARAMS ((tree *, tree, tree, int, bool *));
-const struct attribute_spec rs6000_attribute_table[];
+extern const struct attribute_spec rs6000_attribute_table[];
static void rs6000_set_default_type_attributes PARAMS ((tree));
static void rs6000_output_function_prologue PARAMS ((FILE *, HOST_WIDE_INT));
static void rs6000_output_function_epilogue PARAMS ((FILE *, HOST_WIDE_INT));