mirror of
https://github.com/swaywm/sway.git
synced 2025-04-03 02:47:46 +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
|
@ -18,7 +18,7 @@ int main(int argc, char **argv) {
|
|||
char *socket_path = NULL;
|
||||
bool debug = false;
|
||||
|
||||
static struct option long_options[] = {
|
||||
static const struct option long_options[] = {
|
||||
{"help", no_argument, NULL, 'h'},
|
||||
{"version", no_argument, NULL, 'v'},
|
||||
{"socket", required_argument, NULL, 's'},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue