aboutsummaryrefslogtreecommitdiff
path: root/targ.c
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2021-04-23 12:49:55 -0700
committerMichael Forney <mforney@mforney.org>2021-04-23 12:50:25 -0700
commit3c17cff77ccee8c90d5ffea02b7cc8f7e828a4b8 (patch)
tree5fa7029dfc174c8ba0fe31971098739b4512dc27 /targ.c
parent87eaf587b4f95b3c302ced798a32d44a70db3d02 (diff)
Make some static data const
Diffstat (limited to 'targ.c')
-rw-r--r--targ.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/targ.c b/targ.c
index 6ffef9e..2859975 100644
--- a/targ.c
+++ b/targ.c
@@ -3,9 +3,9 @@
#include "util.h"
#include "cc.h"
-struct target *targ;
+const struct target *targ;
-static struct target alltargs[] = {
+static const struct target alltargs[] = {
{
.name = "x86_64",
.typewchar = &typeint,