aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-03-27 04:30:31 -0400
committerTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-03-31 01:04:00 -0400
commite046cf801d513ceafc38216ec4e2a907b52a3f91 (patch)
tree54ea6113490d11b1da8b12edb4e85c361e0a9f71 /gas/read.c
parentd92350111695f11809899144076c8bdfd9cd46f3 (diff)
downloadgdb-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/read.c')
-rw-r--r--gas/read.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/gas/read.c b/gas/read.c
index a22c750..45023ca 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -4593,9 +4593,7 @@ emit_expr_fix (expressionS *exp, unsigned int nbytes, fragS *frag, char *p,
BITFIELD_CONS_EXPRESSIONS. */
static void
-parse_bitfield_cons (exp, nbytes)
- expressionS *exp;
- unsigned int nbytes;
+parse_bitfield_cons (expressionS *exp, unsigned int nbytes)
{
unsigned int bits_available = BITS_PER_CHAR * nbytes;
char *hold = input_line_pointer;
@@ -4780,9 +4778,7 @@ parse_mri_cons (expressionS *exp, unsigned int nbytes)
To use this for a target, define REPEAT_CONS_EXPRESSIONS. */
static void
-parse_repeat_cons (exp, nbytes)
- expressionS *exp;
- unsigned int nbytes;
+parse_repeat_cons (expressionS *exp, unsigned int nbytes)
{
expressionS count;
int i;