projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e517df3
)
Fix snafu - add missing const declaration to 'string' local variable in s_stab_generic.
author
Nick Clifton
<nickc@redhat.com>
Fri, 19 Feb 2016 16:15:48 +0000
(16:15 +0000)
committer
Nick Clifton
<nickc@redhat.com>
Fri, 19 Feb 2016 16:15:48 +0000
(16:15 +0000)
gas/stabs.c
patch
|
blob
|
history
diff --git
a/gas/stabs.c
b/gas/stabs.c
index 6b739c7c95d5b3f857f15e4d4f412a437cf65a69..3b56a4872d14b7a0a96d24783d8c49f84df7bdfd 100644
(file)
--- 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;