summaryrefslogtreecommitdiff
path: root/sim/igen/gen.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-03-07 22:01:47 -0500
committerMike Frysinger <vapier@gentoo.org>2021-03-07 22:03:00 -0500
commit2916e3e18fe7fb15f3153e71404987ea721da84f (patch)
treef80aa208c8df53dc162a70236532f8b90b871b5c /sim/igen/gen.c
parentd3dacd0fafba473fd42fdf3ca86fd3203db28ae8 (diff)
downloadbinutils-gdb-2916e3e18fe7fb15f3153e71404987ea721da84f.tar.gz
sim: igen: update options API
This local macro doesn't take any args, so adjust the API to match. No one really noticed as this is behind code that is not normally built, only when a dev specifically tries to compile it.
Diffstat (limited to 'sim/igen/gen.c')
-rw-r--r--sim/igen/gen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/igen/gen.c b/sim/igen/gen.c
index cf269a23853..c7d8feb025e 100644
--- a/sim/igen/gen.c
+++ b/sim/igen/gen.c
@@ -1643,7 +1643,7 @@ main (int argc, char **argv)
error (NULL,
"Usage: insn <filter-in> <hi-bit-nr> <insn-bit-size> <widths> <decode-table> <insn-table>\n");
- INIT_OPTIONS (options);
+ INIT_OPTIONS ();
filter_parse (&options.flags_filter, argv[1]);