aboutsummaryrefslogtreecommitdiff
path: root/sim/d10v/gencode.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/d10v/gencode.c')
-rw-r--r--sim/d10v/gencode.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sim/d10v/gencode.c b/sim/d10v/gencode.c
index b66297d..c0a748f 100644
--- a/sim/d10v/gencode.c
+++ b/sim/d10v/gencode.c
@@ -5,9 +5,9 @@
#include "ansidecl.h"
#include "opcode/d10v.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 (argc, argv)
@@ -31,7 +31,7 @@ write_header ()
for (opcode = (struct d10v_opcode *)d10v_opcodes; opcode->name; opcode++)
if (opcode->format != OPCODE_FAKE)
- printf("void OP_%X PARAMS ((void));\t\t/* %s */\n",opcode->opcode, opcode->name);
+ printf("void OP_%X (void);\t\t/* %s */\n",opcode->opcode, opcode->name);
}