aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sway/commands.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h
index 123a7245..fc6ce22e 100644
--- a/include/sway/commands.h
+++ b/include/sway/commands.h
@@ -9,7 +9,7 @@ struct sway_container;
9typedef struct cmd_results *sway_cmd(int argc, char **argv); 9typedef struct cmd_results *sway_cmd(int argc, char **argv);
10 10
11struct cmd_handler { 11struct cmd_handler {
12 char *command; 12 const char *command;
13 sway_cmd *handle; 13 sway_cmd *handle;
14}; 14};
15 15
@@ -46,7 +46,7 @@ enum expected_args {
46struct cmd_results *checkarg(int argc, const char *name, 46struct cmd_results *checkarg(int argc, const char *name,
47 enum expected_args type, int val); 47 enum expected_args type, int val);
48 48
49const struct cmd_handler *find_handler(char *line, 49const struct cmd_handler *find_handler(const char *line,
50 const struct cmd_handler *cmd_handlers, size_t handlers_size); 50 const struct cmd_handler *cmd_handlers, size_t handlers_size);
51 51
52/** 52/**