[PATCH 1/6] constify decode_local_label_name::type
tbsaunde+binutils@tbsaunde.org
tbsaunde+binutils@tbsaunde.org
Wed Feb 17 03:54:00 GMT 2016
From: Trevor Saunders <tbsaunde@tbsaunde.org>
gas/ChangeLog:
2016-02-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* symbols.c (decode_local_label_name): make type a const char *.
---
gas/symbols.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gas/symbols.c b/gas/symbols.c
index be48f87..484badc 100644
--- a/gas/symbols.c
+++ b/gas/symbols.c
@@ -1888,7 +1888,7 @@ decode_local_label_name (char *s)
char *symbol_decode;
int label_number;
int instance_number;
- char *type;
+ const char *type;
const char *message_format;
int lindex = 0;
--
2.7.0
More information about the Binutils
mailing list