summaryrefslogtreecommitdiff
path: root/utils/ql/l.h
diff options
context:
space:
mode:
authorKonstantin Kirik (snegovick) <snegovick@uprojects.org>2025-12-04 18:39:51 +0300
committerKonstantin Kirik (snegovick) <snegovick@uprojects.org>2025-12-04 18:39:51 +0300
commita22bdd20a50cc39d19866d6dc220d1f6b15c627a (patch)
tree39c1b172a1e5b5839a685d4b63eb649d857c1806 /utils/ql/l.h
parentf9ec9dfafe84e1bafa3cbde074c09b1a39c9d8c6 (diff)
Rewrite anonymous structs to stop compiler complaints about multiple definitions
Diffstat (limited to 'utils/ql/l.h')
-rw-r--r--utils/ql/l.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/ql/l.h b/utils/ql/l.h
index 6baabc3b..b23d8440 100644
--- a/utils/ql/l.h
+++ b/utils/ql/l.h
@@ -86,11 +86,12 @@ struct Optab
char size;
char param;
};
-struct
+struct s_oprange
{
Optab* start;
Optab* stop;
-} oprange[ALAST];
+};
+extern struct s_oprange oprange[ALAST];
enum
{