summaryrefslogtreecommitdiff
path: root/opcodes/fr30-desc.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-10-09 08:54:58 +0000
committerNick Clifton <nickc@redhat.com>2001-10-09 08:54:58 +0000
commitb562564d710ff47bf0a9ca0e15adac0f7ec013b8 (patch)
tree1f654f53df939158b2bcdcba10616d3d0623627b /opcodes/fr30-desc.c
parent321658845a61f461cac25486056302fd7002a88f (diff)
downloadbinutils-redhat-b562564d710ff47bf0a9ca0e15adac0f7ec013b8.tar.gz
Fix compile time warnings in cgen-generated files
Diffstat (limited to 'opcodes/fr30-desc.c')
-rw-r--r--opcodes/fr30-desc.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/opcodes/fr30-desc.c b/opcodes/fr30-desc.c
index 9fc4379d60..e3a1c8bb10 100644
--- a/opcodes/fr30-desc.c
+++ b/opcodes/fr30-desc.c
@@ -23,6 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
*/
#include "sysdep.h"
+#include <ctype.h>
#include <stdio.h>
#include <stdarg.h>
#include "ansidecl.h"
@@ -33,14 +34,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "opintl.h"
#include "libiberty.h"
-static void init_tables PARAMS ((void));
-static const CGEN_MACH * lookup_mach_via_bfd_name PARAMS ((const CGEN_MACH *, const char *));
-static void build_hw_table PARAMS ((CGEN_CPU_TABLE *));
-static void build_ifield_table PARAMS ((CGEN_CPU_TABLE *));
-static void build_operand_table PARAMS ((CGEN_CPU_TABLE *));
-static void build_insn_table PARAMS ((CGEN_CPU_TABLE *));
-static void fr30_cgen_rebuild_tables PARAMS ((CGEN_CPU_TABLE *));
-
/* Attributes. */
static const CGEN_ATTR_ENTRY bool_attr[] =
@@ -1368,12 +1361,21 @@ static const CGEN_IBASE fr30_cgen_insn_table[MAX_INSNS] =
#undef A
/* Initialize anything needed to be done once, before any cpu_open call. */
+static void init_tables PARAMS ((void));
static void
init_tables ()
{
}
+static const CGEN_MACH * lookup_mach_via_bfd_name
+ PARAMS ((const CGEN_MACH *, const char *));
+static void build_hw_table PARAMS ((CGEN_CPU_TABLE *));
+static void build_ifield_table PARAMS ((CGEN_CPU_TABLE *));
+static void build_operand_table PARAMS ((CGEN_CPU_TABLE *));
+static void build_insn_table PARAMS ((CGEN_CPU_TABLE *));
+static void fr30_cgen_rebuild_tables PARAMS ((CGEN_CPU_TABLE *));
+
/* Subroutine of fr30_cgen_cpu_open to look up a mach via its bfd name. */
static const CGEN_MACH *