Skip to content

Commit

Permalink
constify readonly data
Browse files Browse the repository at this point in the history
  • Loading branch information
N-R-K committed Jun 2, 2024
1 parent 3de64b1 commit d01587d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/options.c
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,8 @@ void optionsParse(int argc, char *argv[])
/* ensure these don't collude with single byte opts. */
OPT_FORMAT = UCHAR_MAX + 1,
};
static char stropts[] = "a:bC:cD:d:e:F:fhik::l:M:mn:opq:S:s::t:uvw:Z:z";
static struct option lopts[] = {
static const char stropts[] = "a:bC:cD:d:e:F:fhik::l:M:mn:opq:S:s::t:uvw:Z:z";
static const struct option lopts[] = {
{"autoselect", required_argument, NULL, 'a'},
{"border", no_argument, NULL, 'b'},
{"class", required_argument, NULL, 'C'},
Expand Down

0 comments on commit d01587d

Please sign in to comment.