Fix -Wshadow=local warning in sol_thread_target::wait
[deliverable/binutils-gdb.git] / opcodes / d10v-opc.c
index f57921cb3601ac8db719dd8e6f884332a10f4393..a5a2c2ac5f3f76655e194adebe6f8603d94e7230 100644 (file)
@@ -1,6 +1,5 @@
 /* d10v-opc.c -- D10V opcode list
 /* d10v-opc.c -- D10V opcode list
-   Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2007
-   Free Software Foundation, Inc.
+   Copyright (C) 1996-2018 Free Software Foundation, Inc.
    Written by Martin Hunt, Cygnus Support
 
    This file is part of the GNU opcodes library.
    Written by Martin Hunt, Cygnus Support
 
    This file is part of the GNU opcodes library.
@@ -20,8 +19,8 @@
    Software Foundation, 51 Franklin Street - Fifth Floor, Boston,
    MA 02110-1301, USA.  */
 
    Software Foundation, 51 Franklin Street - Fifth Floor, Boston,
    MA 02110-1301, USA.  */
 
-#include <stdio.h>
 #include "sysdep.h"
 #include "sysdep.h"
+#include <stdio.h>
 #include "opcode/d10v.h"
 
 
 #include "opcode/d10v.h"
 
 
@@ -90,8 +89,8 @@ const struct pd_reg d10v_predefined_registers[] =
   { "sp", NULL, OPERAND_SP|(OPERAND_GPR+15) },
 };
 
   { "sp", NULL, OPERAND_SP|(OPERAND_GPR+15) },
 };
 
-int 
-d10v_reg_name_cnt()
+int
+d10v_reg_name_cnt (void)
 {
   return (sizeof(d10v_predefined_registers) / sizeof(struct pd_reg));
 }
 {
   return (sizeof(d10v_predefined_registers) / sizeof(struct pd_reg));
 }
This page took 0.0254 seconds and 4 git commands to generate.