mirror of
https://github.com/curl/curl.git
synced 2026-07-24 19:07:17 +03:00
cleanup: constify unmodified static structs
Constify a number of static structs that are never modified. Make them const to show this. Closes #7759
This commit is contained in:
parent
c7aef0a945
commit
e75be2c4b2
10 changed files with 20 additions and 20 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue