aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2016-02-19 16:15:48 +0000
committerNick Clifton <nickc@redhat.com>2016-02-19 16:15:48 +0000
commitb37283a66b246609c74d75cb6757f5ecc2bfb8fa (patch)
treea79cd2a91b3a1e6dc0027e26de7d09568ea88db8 /gas
parente517df3dbf7556ddb389228d713a804594ee3c1f (diff)
downloadgdb-b37283a66b246609c74d75cb6757f5ecc2bfb8fa.zip
gdb-b37283a66b246609c74d75cb6757f5ecc2bfb8fa.tar.gz
gdb-b37283a66b246609c74d75cb6757f5ecc2bfb8fa.tar.bz2
Fix snafu - add missing const declaration to 'string' local variable in s_stab_generic.
Diffstat (limited to 'gas')
-rw-r--r--gas/stabs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/stabs.c b/gas/stabs.c
index 6b739c7..3b56a48 100644
--- a/gas/stabs.c
+++ b/gas/stabs.c
@@ -181,7 +181,8 @@ s_stab_generic (int what,
const char * stabstr_secname)
{
long longint;
- char *string, *saved_string_obstack_end;
+ const char *string;
+ char *saved_string_obstack_end;
int type;
int other;
int desc;