diff options
author | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-03-27 04:30:31 -0400 |
---|---|---|
committer | Trevor Saunders <tbsaunde+binutils@tbsaunde.org> | 2016-03-31 01:04:00 -0400 |
commit | e046cf801d513ceafc38216ec4e2a907b52a3f91 (patch) | |
tree | 54ea6113490d11b1da8b12edb4e85c361e0a9f71 /gas/config/tc-bfin.c | |
parent | d92350111695f11809899144076c8bdfd9cd46f3 (diff) | |
download | gdb-e046cf801d513ceafc38216ec4e2a907b52a3f91.zip gdb-e046cf801d513ceafc38216ec4e2a907b52a3f91.tar.gz gdb-e046cf801d513ceafc38216ec4e2a907b52a3f91.tar.bz2 |
get rid of K&R style args
gas/ChangeLog:
2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* cgen.c: Modernize the way functions declare arguments.
* config/tc-bfin.c: Likewise.
* config/tc-pdp11.c: Likewise.
* literal.c: Likewise.
* read.c: Likewise.
* stabs.c: Likewise.
Diffstat (limited to 'gas/config/tc-bfin.c')
-rw-r--r-- | gas/config/tc-bfin.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/gas/config/tc-bfin.c b/gas/config/tc-bfin.c index 29754c1..6dce28c 100644 --- a/gas/config/tc-bfin.c +++ b/gas/config/tc-bfin.c @@ -791,9 +791,7 @@ md_apply_fix (fixS *fixP, valueT *valueP, segT seg ATTRIBUTE_UNUSED) /* Round up a section size to the appropriate boundary. */ valueT -md_section_align (segment, size) - segT segment; - valueT size; +md_section_align (segT segment, valueT size) { int boundary = bfd_get_section_alignment (stdoutput, segment); return ((size + (1 << boundary) - 1) & -(1 << boundary)); @@ -811,9 +809,7 @@ md_atof (int type, char * litP, int * sizeP) then it is done here. */ arelent * -tc_gen_reloc (seg, fixp) - asection *seg ATTRIBUTE_UNUSED; - fixS *fixp; +tc_gen_reloc (asection *seg ATTRIBUTE_UNUSED, fixS *fixp) { arelent *reloc; @@ -844,9 +840,7 @@ tc_gen_reloc (seg, fixp) given a PC relative reloc. */ long -md_pcrel_from_section (fixP, sec) - fixS *fixP; - segT sec; +md_pcrel_from_section (fixS *fixP, segT sec) { if (fixP->fx_addsy != (symbolS *) NULL && (!S_IS_DEFINED (fixP->fx_addsy) |