avoid duplicate definition issue

This commit is contained in:
Ethan Roseman 2023-03-22 13:05:53 +09:00
parent 6784717c18
commit a6afc2afbc
No known key found for this signature in database
GPG Key ID: 27F9FCEB8E4969BD

View File

@ -81,7 +81,7 @@ Boston, MA 02111-1307, USA. */
#include "defaults.h"
#include "output.h" /* ASM_OUTPUT_SOURCE_LINE may refer to sdb functions. */
char *current_function_name;
char *current_function_name2;
#ifndef errno
extern int errno;
@ -1672,7 +1672,7 @@ dbxout_symbol (decl, local)
IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl)),
IDENTIFIER_POINTER (DECL_NAME (context)));
current_function_name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl));
current_function_name2 = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl));
dbxout_finish_symbol (decl);
break;