aboutsummaryrefslogtreecommitdiff
path: root/gas/stabs.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/stabs.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/stabs.c')
-rw-r--r--gas/stabs.c8
1 files changed, 2 insertions, 6 deletions
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;