aboutsummaryrefslogtreecommitdiff
path: root/sim/common/cgen-utils.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-08-12 22:11:26 +0800
committerMike Frysinger <vapier@gentoo.org>2016-08-13 22:38:04 -0700
commit4c171e25a8c83fc26b78430fa632fa9e64f61050 (patch)
tree48b19a032391112d9f1d6690c4bfec54ae132443 /sim/common/cgen-utils.c
parent78d983e9ea6bf289d76bc2dce45397501371b5a7 (diff)
downloadgdb-4c171e25a8c83fc26b78430fa632fa9e64f61050.zip
gdb-4c171e25a8c83fc26b78430fa632fa9e64f61050.tar.gz
gdb-4c171e25a8c83fc26b78430fa632fa9e64f61050.tar.bz2
sim: cgen: constify mode_names
Diffstat (limited to 'sim/common/cgen-utils.c')
-rw-r--r--sim/common/cgen-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/cgen-utils.c b/sim/common/cgen-utils.c
index d17fb42..13de592 100644
--- a/sim/common/cgen-utils.c
+++ b/sim/common/cgen-utils.c
@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#define SEMOPS_DEFINE_INLINE
#include "cgen-ops.h"
-const char *mode_names[] = {
+const char * const mode_names[] = {
"VOID",
"BI",
"QI",