diff options
Diffstat (limited to 'sim/cr16/gencode.c')
-rw-r--r-- | sim/cr16/gencode.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sim/cr16/gencode.c b/sim/cr16/gencode.c index f90dcb1..67f95ab 100644 --- a/sim/cr16/gencode.c +++ b/sim/cr16/gencode.c @@ -25,9 +25,9 @@ #include "ansidecl.h" #include "opcode/cr16.h" -static void write_header PARAMS ((void)); -static void write_opcodes PARAMS ((void)); -static void write_template PARAMS ((void)); +static void write_header (void); +static void write_opcodes (void); +static void write_template (void); int main (int argc, char *argv[]) @@ -53,7 +53,7 @@ write_header () /* Loop over instruction table until a full match is found. */ for ( ; i < NUMOPCODES; i++) { - printf("void OP_%X_%X PARAMS ((void));\t\t/* %s */\n",cr16_instruction[i].match, (32 - cr16_instruction[i].match_bits), cr16_instruction[i].mnemonic); + printf("void OP_%X_%X (void);\t\t/* %s */\n",cr16_instruction[i].match, (32 - cr16_instruction[i].match_bits), cr16_instruction[i].mnemonic); } } |