diff options
author | Alan Modra <amodra@gmail.com> | 2014-11-04 15:31:09 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-11-04 22:40:45 +1030 |
commit | ed9e98c214dde25cc9ff54bac7191c3824be3ffa (patch) | |
tree | 3980c3988814ee71c381b4c7abb879bce7b8325b /gas/input-scrub.c | |
parent | 127a8db1ed4fc7903007dc23c6b11f613933f9ef (diff) | |
download | gdb-ed9e98c214dde25cc9ff54bac7191c3824be3ffa.zip gdb-ed9e98c214dde25cc9ff54bac7191c3824be3ffa.tar.gz gdb-ed9e98c214dde25cc9ff54bac7191c3824be3ffa.tar.bz2 |
Don't use register keyword
* expr.c (expr_symbol_where): Don't use register keyword.
* app.c (app_push, app_pop, do_scrub_chars): Likewise.
* ecoff.c (add_string, add_ecoff_symbol, add_aux_sym_symint,
add_aux_sym_rndx, add_aux_sym_tir, add_procedure, add_file,
ecoff_build_lineno, ecoff_setup_ext, allocate_cluster.
allocate_scope, allocate_vlinks, allocate_shash,
allocate_thash, allocate_tag, allocate_forward, allocate_thead,
allocate_lineno_list): Likewise.
* frags.c (frag_more, frag_var, frag_variant, frag_wane): Likewise.
* input-file.c (input_file_push, input_file_pop): Likewise.
* input-scrub.c (input_scrub_push, input_scrub_next_buffer): Likewise.
* subsegs.c (subseg_change): Likewise.
* symbols.c (colon, symbol_table_insert, symbol_find_or_make)
(dollar_label_name, fb_label_name): Likewise.
* write.c (relax_align): Likewise.
* config/tc-alpha.c (s_alpha_pdesc): Likewise.
* config/tc-bfin.c (bfin_s_bss): Likewise.
* config/tc-i860.c (md_estimate_size_before_relax): Likewise.
* config/tc-m68hc11.c (md_convert_frag): Likewise.
* config/tc-m68k.c (m68k_ip, crack_operand): Likewise.
(md_convert_frag_1, s_even): Likewise.
* config/tc-mips.c (mips_clear_insn_labels): Likewise.
* config/tc-mn10200.c (md_begin): Likewise.
* config/tc-s390.c (s390_setup_opcodes, md_begin): Likewise.
* config/tc-sh.c (sh_elf_cons): Likewise.
* config/tc-tic4x.c (tic4x_cons, tic4x_stringer): Likewise.
* config/m68k-parse.y (m68k_reg_parse): Likewise. Convert from K&R.
(yylex, m68k_ip_op, yyerror): Convert from K&R.
Diffstat (limited to 'gas/input-scrub.c')
-rw-r--r-- | gas/input-scrub.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/input-scrub.c b/gas/input-scrub.c index 042005a..5388e81 100644 --- a/gas/input-scrub.c +++ b/gas/input-scrub.c @@ -137,7 +137,7 @@ static struct input_save *next_saved_file; static struct input_save * input_scrub_push (char *saved_position) { - register struct input_save *saved; + struct input_save *saved; saved = (struct input_save *) xmalloc (sizeof *saved); @@ -311,7 +311,7 @@ input_scrub_close (void) char * input_scrub_next_buffer (char **bufp) { - register char *limit; /*->just after last char of buffer. */ + char *limit; /*->just after last char of buffer. */ if (sb_index != (size_t) -1) { @@ -354,7 +354,7 @@ input_scrub_next_buffer (char **bufp) + partial_size); if (limit) { - register char *p; /* Find last newline. */ + char *p; /* Find last newline. */ /* Terminate the buffer to avoid confusing TC_EOL_IN_INSN. */ *limit = '\0'; for (p = limit - 1; *p != '\n' || TC_EOL_IN_INSN (p); --p) |