diff options
Diffstat (limited to 'swaybar/main.c')
-rw-r--r-- | swaybar/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/swaybar/main.c b/swaybar/main.c index 5c36d66b..3dc67233 100644 --- a/swaybar/main.c +++ b/swaybar/main.c | |||
@@ -1,4 +1,3 @@ | |||
1 | #define _POSIX_C_SOURCE 200809L | ||
2 | #include <stdio.h> | 1 | #include <stdio.h> |
3 | #include <stdlib.h> | 2 | #include <stdlib.h> |
4 | #include <string.h> | 3 | #include <string.h> |
@@ -18,7 +17,7 @@ int main(int argc, char **argv) { | |||
18 | char *socket_path = NULL; | 17 | char *socket_path = NULL; |
19 | bool debug = false; | 18 | bool debug = false; |
20 | 19 | ||
21 | static struct option long_options[] = { | 20 | static const struct option long_options[] = { |
22 | {"help", no_argument, NULL, 'h'}, | 21 | {"help", no_argument, NULL, 'h'}, |
23 | {"version", no_argument, NULL, 'v'}, | 22 | {"version", no_argument, NULL, 'v'}, |
24 | {"socket", required_argument, NULL, 's'}, | 23 | {"socket", required_argument, NULL, 's'}, |