mirror of
https://github.com/swaywm/sway.git
synced 2025-04-03 19:07:45 +03:00
Make command line option lists const
This commit is contained in:
parent
8f2cd3236f
commit
169b90f90b
4 changed files with 4 additions and 4 deletions
|
@ -51,7 +51,7 @@ int swaynag_parse_options(int argc, char **argv, struct swaynag *swaynag,
|
|||
TO_PADDING_BTN,
|
||||
};
|
||||
|
||||
static struct option opts[] = {
|
||||
static const struct option opts[] = {
|
||||
{"button", required_argument, NULL, 'b'},
|
||||
{"button-no-terminal", required_argument, NULL, 'B'},
|
||||
{"button-dismiss", required_argument, NULL, 'z'},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue