projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add more const type qualifiers to GAS sources.
[deliverable/binutils-gdb.git]
/
gas
/
read.c
diff --git
a/gas/read.c
b/gas/read.c
index 5e0e3c8d99f0546ed6b9dc4b7babc2f1a6151ba5..e992534bce7ab7c854a26f5da951ee98d3bc7966 100644
(file)
--- a/
gas/read.c
+++ b/
gas/read.c
@@
-2348,13
+2348,14
@@
s_globl (int ignore ATTRIBUTE_UNUSED)
void
s_irp (int irpc)
{
void
s_irp (int irpc)
{
- char *file, *eol;
+ char * eol;
+ const char * file;
unsigned int line;
sb s;
const char *err;
sb out;
unsigned int line;
sb s;
const char *err;
sb out;
-
as_where (&file,
&line);
+
file = as_where (
&line);
eol = find_end_of_line (input_line_pointer, 0);
sb_build (&s, eol - input_line_pointer);
eol = find_end_of_line (input_line_pointer, 0);
sb_build (&s, eol - input_line_pointer);
@@
-2683,13
+2684,14
@@
get_macro_line_sb (sb *line)
void
s_macro (int ignore ATTRIBUTE_UNUSED)
{
void
s_macro (int ignore ATTRIBUTE_UNUSED)
{
- char *file, *eol;
+ char *eol;
+ const char * file;
unsigned int line;
sb s;
const char *err;
const char *name;
unsigned int line;
sb s;
const char *err;
const char *name;
-
as_where (&file,
&line);
+
file = as_where (
&line);
eol = find_end_of_line (input_line_pointer, 0);
sb_build (&s, eol - input_line_pointer);
eol = find_end_of_line (input_line_pointer, 0);
sb_build (&s, eol - input_line_pointer);
@@
-4163,7
+4165,7
@@
s_reloc (int ignore ATTRIBUTE_UNUSED)
break;
}
break;
}
-
as_where (&reloc->file,
&reloc->line);
+
reloc->file = as_where (
&reloc->line);
reloc->next = reloc_list;
reloc_list = reloc;
reloc->next = reloc_list;
reloc_list = reloc;
This page took
0.023821 seconds
and
4
git commands to generate.