mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 10:00:51 +00:00
Fix compile time warnings in cgen-generated files
This commit is contained in:
@@ -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,13 +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 openrisc_cgen_rebuild_tables PARAMS ((CGEN_CPU_TABLE *));
|
||||
/* Attributes. */
|
||||
|
||||
static const CGEN_ATTR_ENTRY bool_attr[] =
|
||||
@@ -670,12 +664,21 @@ static const CGEN_IBASE openrisc_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 openrisc_cgen_rebuild_tables PARAMS ((CGEN_CPU_TABLE *));
|
||||
|
||||
/* Subroutine of openrisc_cgen_cpu_open to look up a mach via its bfd name. */
|
||||
|
||||
static const CGEN_MACH *
|
||||
|
||||
Reference in New Issue
Block a user