remove uses of PARAMS from binutils
authorTom Tromey <tromey@redhat.com>
Mon, 6 Jan 2014 02:49:29 +0000 (19:49 -0700)
committerTom Tromey <tromey@redhat.com>
Tue, 7 Jan 2014 16:17:04 +0000 (09:17 -0700)
This removes the last uses of PARAMS from binutils.

The two changes in binutils were tested by rebuilding.
I didn't rebuild the gas change but I think it is obviously correct.

2014-01-07  Tom Tromey  <tromey@redhat.com>

* coffgrok.h (coff_ofile): Don't use PARAMS.
* nlmheader.y (strerror): Don't use PARAMS.

2014-01-07  Tom Tromey  <tromey@redhat.com>

* config/tc-microblaze.h (parse_cons_expression_microblaze): Don't
use PARAMS.

binutils/ChangeLog
binutils/coffgrok.h
binutils/nlmheader.y
gas/ChangeLog
gas/config/tc-microblaze.h

index 541de444b3f7a93bd96c2ff508556a03b5f48aa9..8afc4a27041d028c7c244a9ebafe581d60a5ff13 100644 (file)
@@ -1,3 +1,8 @@
+2014-01-07  Tom Tromey  <tromey@redhat.com>
+
+       * coffgrok.h (coff_ofile): Don't use PARAMS.
+       * nlmheader.y (strerror): Don't use PARAMS.
+
 2013-12-31  Nick Clifton  <nickc@redhat.com>
 
        * objcopy.c (dump_sections): New list.
index 44a49e20c956cf9f8ea7dd89516862b22de30392..fd4a95263ff5608ef0c2ac32d6ac0c4a347bbedc 100644 (file)
@@ -1,5 +1,5 @@
 /* coffgrok.h
-   Copyright 2001, 2002, 2003, 2005, 2007 Free Software Foundation, Inc.
+   Copyright 2001, 2002, 2003, 2005, 2007, 2014 Free Software Foundation, Inc.
 
    This file is part of GNU Binutils.
 
@@ -223,4 +223,4 @@ struct coff_sfile
      struct coff_sfile *sfile;
   };
 
-struct coff_ofile *coff_grok PARAMS ((bfd *));
+struct coff_ofile *coff_grok (bfd *);
index 86744c4c15cc7be4152b9f0c253a648e6a364861..9550fe5f1b0ad261028814447934fcaaadc0365d 100644 (file)
@@ -1,6 +1,6 @@
 %{/* nlmheader.y - parse NLM header specification keywords.
      Copyright 1993, 1994, 1995, 1997, 1998, 2001, 2002, 2003, 2005, 2007,
-     2010 Free Software Foundation, Inc.
+     2010, 2014 Free Software Foundation, Inc.
 
      This file is part of GNU Binutils.
 
@@ -494,7 +494,7 @@ string_list:
 /* If strerror is just a macro, we want to use the one from libiberty
    since it will handle undefined values.  */
 #undef strerror
-extern char *strerror PARAMS ((int));
+extern char *strerror (int);
 
 /* The lexer is simple, too simple for flex.  Keywords are only
    recognized at the start of lines.  Everything else must be an
index da2108c811086e00b39517aed610af3fd40c00d0..0f8fa886e64243fbee7de9756dc63c74e0474783 100644 (file)
@@ -1,3 +1,8 @@
+2014-01-07  Tom Tromey  <tromey@redhat.com>
+
+       * config/tc-microblaze.h (parse_cons_expression_microblaze): Don't
+       use PARAMS.
+
 2014-01-07  Tom Tromey  <tromey@redhat.com>
 
        * config/tc-xc16x.h: Don't use ANSI_PROTOTYPES.
index 06510400380b3e7bda1c44971627ed454327de6c..340f5333483d6b6f5d628371d91e95ce7617e131 100644 (file)
@@ -1,6 +1,6 @@
 /* tc-microblaze.h -- Header file for tc-microblaze.c.
 
-   Copyright 2009 Free Software Foundation, Inc.
+   Copyright 2009, 2014 Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
@@ -37,7 +37,7 @@
    of such expressions */
 #define TC_CONS_FIX_NEW cons_fix_new_microblaze
 #define TC_PARSE_CONS_EXPRESSION(EXP, NBYTES) parse_cons_expression_microblaze (EXP, NBYTES)
-extern void parse_cons_expression_microblaze PARAMS ((expressionS *, int));
+extern void parse_cons_expression_microblaze (expressionS *, int);
 
 #define TC_FORCE_RELOCATION_SECTION(FIXP,SEG) 1
 #define UNDEFINED_DIFFERENCE_OK 1
This page took 0.035238 seconds and 4 git commands to generate.