opcodes: d10v: fix old style prototype

This commit is contained in:
Mike Frysinger 2015-03-30 01:40:09 -04:00
parent e8713c0f02
commit 2f783c1f4b
2 changed files with 5 additions and 1 deletions

View 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.

View 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));
}