X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Fm32c%2Fr8c.opc;h=de5ed443563d86d4e3e47eac1ffaba97c1c124f8;hb=17fc27167f678285d2f64040837b8cc41b6a664a;hp=e23de36c18140e3c6754be70471d8c7e79c2cd73;hpb=e4d013fc0f3df3200be2dca48ed2e330e8a4ddf9;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/m32c/r8c.opc b/sim/m32c/r8c.opc index e23de36c18..de5ed44356 100644 --- a/sim/m32c/r8c.opc +++ b/sim/m32c/r8c.opc @@ -1,6 +1,6 @@ /* r8c.opc --- semantics for r8c opcodes. -*- mode: c -*- -Copyright (C) 2005, 2007, 2008, 2009 Free Software Foundation, Inc. +Copyright (C) 2005-2020 Free Software Foundation, Inc. Contributed by Red Hat, Inc. This file is part of the GNU simulators. @@ -32,7 +32,7 @@ along with this program. If not, see . */ #define tprintf if (trace) printf static unsigned char -getbyte () +getbyte (void) { int tsave = trace; unsigned char b; @@ -77,7 +77,7 @@ unsupported (char *tag, int orig_pc) } static int -IMM(bw) +IMM (int bw) { int rv = getbyte (); if (bw) @@ -306,7 +306,7 @@ static int bmcnd_cond_map[] = { }; int -decode_r8c() +decode_r8c (void) { unsigned char op[40]; int opi = 0;