From: Mike Frysinger Date: Mon, 30 Mar 2015 05:40:09 +0000 (-0400) Subject: opcodes: d10v: fix old style prototype X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2f783c1f4b23b194efa31e2015fb585b688c6526;p=binutils-gdb.git opcodes: d10v: fix old style prototype --- diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 4e92568930c..efac7071f06 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2015-03-30 Mike Frysinger + + * d10v-opc.c (d10v_reg_name_cnt): Convert old style prototype. + 2015-03-29 H.J. Lu * Makefile.in: Regenerated. diff --git a/opcodes/d10v-opc.c b/opcodes/d10v-opc.c index 27746d3df37..0f2b28036fd 100644 --- a/opcodes/d10v-opc.c +++ b/opcodes/d10v-opc.c @@ -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)); }