From 3c17cff77ccee8c90d5ffea02b7cc8f7e828a4b8 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Fri, 23 Apr 2021 12:49:55 -0700 Subject: Make some static data const --- targ.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'targ.c') 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, -- cgit v1.2.3