This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH 1/6] constify decode_local_label_name::type
- From: tbsaunde+binutils at tbsaunde dot org
- To: binutils at sourceware dot org
- Date: Tue, 16 Feb 2016 22:54:17 -0500
- Subject: [PATCH 1/6] constify decode_local_label_name::type
- Authentication-results: sourceware.org; auth=none
- References: <1455681262-11896-1-git-send-email-tbsaunde+binutils at tbsaunde dot org>
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