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-pdp11.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-pdp11.c')
-rw-r--r-- | gas/config/tc-pdp11.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gas/config/tc-pdp11.c b/gas/config/tc-pdp11.c index 3d160cf..68e710f 100644 --- a/gas/config/tc-pdp11.c +++ b/gas/config/tc-pdp11.c @@ -279,9 +279,7 @@ md_apply_fix (fixS *fixP, } long -md_chars_to_number (con, nbytes) - unsigned char con[]; /* Low order byte 1st. */ - int nbytes; /* Number of bytes in the input. */ +md_chars_to_number (unsigned char *con, int nbytes) { /* On a PDP-11, 0x1234 is stored as "\x12\x34", and 0x12345678 is stored as "\x56\x78\x12\x34". It's |