aboutsummaryrefslogtreecommitdiff
path: root/sim/m32c/r8c.opc
diff options
context:
space:
mode:
Diffstat (limited to 'sim/m32c/r8c.opc')
-rw-r--r--sim/m32c/r8c.opc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sim/m32c/r8c.opc b/sim/m32c/r8c.opc
index b4a4f6d..34f0af4 100644
--- a/sim/m32c/r8c.opc
+++ b/sim/m32c/r8c.opc
@@ -32,7 +32,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#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;