]> granicus.if.org Git - graphviz/commitdiff
common: mark 'Arrowsynonyms' const
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 8 Oct 2022 22:26:11 +0000 (15:26 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 12 Oct 2022 14:51:43 +0000 (07:51 -0700)
lib/common/arrows.c

index 6cd76fda8eefd238cd497f1162ba0f24c2aff7b8..95face39c93db8e861e4dfea0d8c3a8c5aea3026 100644 (file)
@@ -63,7 +63,7 @@ typedef struct arrowname_t {
     int type;
 } arrowname_t;
 
-static arrowname_t Arrowsynonyms[] = {
+static const arrowname_t Arrowsynonyms[] = {
     /* synonyms for deprecated arrow names - included for backward compatibility */
     /*  evaluated before primary names else "invempty" would give different results */
     {"invempty", (ARR_TYPE_NORM | ARR_MOD_INV | ARR_MOD_OPEN)},        /* oinv     */