diff options
author | Nick Clifton <nickc@redhat.com> | 2016-02-19 16:15:48 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2016-02-19 16:15:48 +0000 |
commit | b37283a66b246609c74d75cb6757f5ecc2bfb8fa (patch) | |
tree | a79cd2a91b3a1e6dc0027e26de7d09568ea88db8 /gas | |
parent | e517df3dbf7556ddb389228d713a804594ee3c1f (diff) | |
download | gdb-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.c | 3 |
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; |