This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Remove gratuitous decl in darwin.h


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 ----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]