This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Remove another redundant extern from rs6000/sysv4.h
- From: Geoff Keating <geoffk at geoffk dot org>
- To: Neil Booth <neil at daikokuya dot co dot uk>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 16 Jun 2003 10:43:29 -0700
- Subject: Re: Remove another redundant extern from rs6000/sysv4.h
- References: <20030616053541.GE22890@daikokuya.co.uk>
Neil Booth <neil@daikokuya.co.uk> writes:
> 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.
This is OK, if you needed approval.
> * 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) \
> { \
>
--
- Geoffrey Keating <geoffk@geoffk.org>