aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2014-01-05 19:49:29 -0700
committerTom Tromey <tromey@redhat.com>2014-01-07 09:17:04 -0700
commitb51f1626f645f272f19105c42cdb436381ee6357 (patch)
tree3fb8691e121400e93cafaefb89d44bba2393ff09
parent3cea37c40cf9219b2842298ed1b37d11389bc1ea (diff)
downloadbinutils-b51f1626f645f272f19105c42cdb436381ee6357.zip
binutils-b51f1626f645f272f19105c42cdb436381ee6357.tar.gz
binutils-b51f1626f645f272f19105c42cdb436381ee6357.tar.bz2
remove uses of PARAMS from binutils
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.
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/coffgrok.h4
-rw-r--r--binutils/nlmheader.y4
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-microblaze.h4
5 files changed, 16 insertions, 6 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 541de44..8afc4a2 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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.
diff --git a/binutils/coffgrok.h b/binutils/coffgrok.h
index 44a49e2..fd4a952 100644
--- a/binutils/coffgrok.h
+++ b/binutils/coffgrok.h
@@ -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 *);
diff --git a/binutils/nlmheader.y b/binutils/nlmheader.y
index 86744c4..9550fe5 100644
--- a/binutils/nlmheader.y
+++ b/binutils/nlmheader.y
@@ -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
diff --git a/gas/ChangeLog b/gas/ChangeLog
index da2108c..0f8fa88 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
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.
2013-01-07 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
diff --git a/gas/config/tc-microblaze.h b/gas/config/tc-microblaze.h
index 0651040..340f533 100644
--- a/gas/config/tc-microblaze.h
+++ b/gas/config/tc-microblaze.h
@@ -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