summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2021-09-22 00:21:03 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-09-23 12:54:35 +0200
commite75be2c4b20ced981606c1338759ac3dc6edc309 (patch)
treeb6baf0713f1d44c01c6de12b423f2b2f3b877f31 /src
parentc7aef0a945f9b6fb6d3f91716a21dfe2f4ea635f (diff)
downloadcurl-e75be2c4b20ced981606c1338759ac3dc6edc309.tar.gz
cleanup: constify unmodified static structs
Constify a number of static structs that are never modified. Make them const to show this. Closes #7759
Diffstat (limited to 'src')
-rw-r--r--src/tool_vms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_vms.c b/src/tool_vms.c
index e250b7afd..a2678313a 100644
--- a/src/tool_vms.c
+++ b/src/tool_vms.c
@@ -128,7 +128,7 @@ struct decc_feat_t {
};
/* Array of DECC$* feature names and their desired values. */
-static struct decc_feat_t decc_feat_array[] = {
+static const struct decc_feat_t decc_feat_array[] = {
/* Preserve command-line case with SET PROCESS/PARSE_STYLE=EXTENDED */
{ "DECC$ARGV_PARSE_STYLE", 1 },
/* Preserve case for file names on ODS5 disks. */