This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Remove gratuitous decl in darwin.h
- To: gcc-patches at gcc dot gnu dot org
- Subject: Remove gratuitous decl in darwin.h
- From: Stan Shebs <shebs at apple dot com>
- Date: Mon, 11 Jun 2001 17:42:17 -0700
An obvious whack of an unnecessary extern decl (the reason it's
referenced is probably bogus too, but I haven't proved that yet).
Stan
2001-06-11 Stan Shebs <shebs@apple.com>
* darwin.h (ASM_FILE_END): Remove decl of language_string.
Index: config/darwin.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/darwin.h,v
retrieving revision 1.5
diff -c -3 -p -r1.5 darwin.h
*** darwin.h 2001/06/08 02:28:04 1.5
--- darwin.h 2001/06/12 00:25:25
*************** do { text_section (); \
*** 196,202 ****
#undef ASM_FILE_END
#define ASM_FILE_END(FILE) \
do { \
- extern const char *language_string; \
machopic_finish (asm_out_file); \
if (strcmp (language_string, "GNU C++") == 0) \
{ \
--- 196,201 ----