From e046cf801d513ceafc38216ec4e2a907b52a3f91 Mon Sep 17 00:00:00 2001 From: Trevor Saunders Date: Sun, 27 Mar 2016 04:30:31 -0400 Subject: get rid of K&R style args gas/ChangeLog: 2016-03-31 Trevor Saunders * 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. --- gas/stabs.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'gas/stabs.c') diff --git a/gas/stabs.c b/gas/stabs.c index 8d54f73..876ffa5 100644 --- a/gas/stabs.c +++ b/gas/stabs.c @@ -134,10 +134,7 @@ get_stab_string_offset (const char *string, const char *stabstr_secname) /* Here instead of obj-aout.c because other formats use it too. */ void -aout_process_stab (what, string, type, other, desc) - int what; - const char *string; - int type, other, desc; +aout_process_stab (int what, const char *string, int type, int other, int desc) { /* Put the stab information in the symbol table. */ symbolS *symbol; @@ -451,8 +448,7 @@ s_xstab (int what) /* Frob invented at RMS' request. Set the n_desc of a symbol. */ void -s_desc (ignore) - int ignore ATTRIBUTE_UNUSED; +s_desc (int ignore ATTRIBUTE_UNUSED) { char *name; char c; -- cgit v1.1