diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-11-27 12:14:28 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-11-27 12:15:16 -0500 |
commit | d9a84d15f23a38cce755c558c5b6227eb0ec8d02 (patch) | |
tree | 36299532456a14b88ab277d2d18fe81b2817518a /sim/common/hw-base.c | |
parent | 6916d9e65c5bc69b469964ae7202c33b309558a4 (diff) | |
download | binutils-d9a84d15f23a38cce755c558c5b6227eb0ec8d02.zip binutils-d9a84d15f23a38cce755c558c5b6227eb0ec8d02.tar.gz binutils-d9a84d15f23a38cce755c558c5b6227eb0ec8d02.tar.bz2 |
sim: hw: mark hw_descriptors const
Diffstat (limited to 'sim/common/hw-base.c')
-rw-r--r-- | sim/common/hw-base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/hw-base.c b/sim/common/hw-base.c index af4cc50..dee9359 100644 --- a/sim/common/hw-base.c +++ b/sim/common/hw-base.c @@ -385,7 +385,7 @@ hw_create (struct sim_state *sd, /* locate a descriptor */ { - const struct hw_descriptor **table; + const struct hw_descriptor * const *table; for (table = hw_descriptors; *table != NULL; table++) |