From a6afc2afbcaf6682930141d526afdc95801fc2fd Mon Sep 17 00:00:00 2001 From: Ethan Roseman Date: Wed, 22 Mar 2023 13:05:53 +0900 Subject: [PATCH] avoid duplicate definition issue --- dbxout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dbxout.c b/dbxout.c index 7ab852e..1d8c366 100644 --- a/dbxout.c +++ b/dbxout.c @@ -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;