aboutsummaryrefslogtreecommitdiff
path: root/opcodes/d10v-opc.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-30 01:40:09 -0400
committerMike Frysinger <vapier@gentoo.org>2015-03-30 02:20:22 -0400
commit2f783c1f4b23b194efa31e2015fb585b688c6526 (patch)
tree7157ffbdc172671154358536bd2b34d5bdbfc0b1 /opcodes/d10v-opc.c
parente8713c0f026199c327ba88ea6da4bcffebff6991 (diff)
downloadgdb-2f783c1f4b23b194efa31e2015fb585b688c6526.zip
gdb-2f783c1f4b23b194efa31e2015fb585b688c6526.tar.gz
gdb-2f783c1f4b23b194efa31e2015fb585b688c6526.tar.bz2
opcodes: d10v: fix old style prototype
Diffstat (limited to 'opcodes/d10v-opc.c')
-rw-r--r--opcodes/d10v-opc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/d10v-opc.c b/opcodes/d10v-opc.c
index 27746d3..0f2b280 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));
}