This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Remove another redundant extern from rs6000/sysv4.h
- From: Neil Booth <neil at daikokuya dot co dot uk>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 16 Jun 2003 06:35:41 +0100
- Subject: Remove another redundant extern from rs6000/sysv4.h
Tested on powerpc-foo-elf.
I might try writing a script that finds externs in config/ that are
also outside config/, because they're a PITA.
Neil.
* config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Remove
unnecessary extern declaration.
Index: config/rs6000/sysv4.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/sysv4.h,v
retrieving revision 1.132
diff -u -p -b -r1.132 sysv4.h
--- config/rs6000/sysv4.h 15 Jun 2003 22:10:35 -0000 1.132
+++ config/rs6000/sysv4.h 16 Jun 2003 05:33:47 -0000
@@ -630,8 +630,6 @@ extern int rs6000_pic_labelno;
#undef ASM_OUTPUT_ALIGNED_LOCAL
#define ASM_OUTPUT_ALIGNED_LOCAL(FILE, NAME, SIZE, ALIGN) \
do { \
- extern unsigned HOST_WIDE_INT g_switch_value; \
- \
if (rs6000_sdata != SDATA_NONE && (SIZE) > 0 \
&& (SIZE) <= g_switch_value) \
{ \