opcodes: d10v: fix old style prototype
authorMike Frysinger <vapier@gentoo.org>
Mon, 30 Mar 2015 05:40:09 +0000 (01:40 -0400)
committerMike Frysinger <vapier@gentoo.org>
Mon, 30 Mar 2015 06:20:22 +0000 (02:20 -0400)
opcodes/ChangeLog
opcodes/d10v-opc.c

index 4e92568930c7838122cd991f4141874d311fac11..efac7071f06a3987824b1086b33e12ef3f61bcff 100644 (file)
@@ -1,3 +1,7 @@
+2015-03-30  Mike Frysinger  <vapier@gentoo.org>
+
+       * d10v-opc.c (d10v_reg_name_cnt): Convert old style prototype.
+
 2015-03-29  H.J. Lu  <hongjiu.lu@intel.com>
 
        * Makefile.in: Regenerated.
index 27746d3df379daaa2085c7689fff361b8296c91f..0f2b28036fda3c770dd54aab2d95254fd8b2b3bc 100644 (file)
@@ -90,7 +90,7 @@ const struct pd_reg d10v_predefined_registers[] =
 };
 
 int 
-d10v_reg_name_cnt()
+d10v_reg_name_cnt (void)
 {
   return (sizeof(d10v_predefined_registers) / sizeof(struct pd_reg));
 }