mirror of
https://github.com/swaywm/sway.git
synced 2025-11-07 13:29:56 -05: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
|
|
@ -245,7 +245,7 @@ static void handle_wlr_log(enum wlr_log_importance importance,
|
|||
int main(int argc, char **argv) {
|
||||
static int verbose = 0, debug = 0, validate = 0, allow_unsupported_gpu = 0;
|
||||
|
||||
static struct option long_options[] = {
|
||||
static const struct option long_options[] = {
|
||||
{"help", no_argument, NULL, 'h'},
|
||||
{"config", required_argument, NULL, 'c'},
|
||||
{"validate", no_argument, NULL, 'C'},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue