aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/readline.h2
-rw-r--r--include/sway/commands.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/readline.h b/include/readline.h
index 3f63e917..e1ae2302 100644
--- a/include/readline.h
+++ b/include/readline.h
@@ -4,7 +4,7 @@
#include <stdio.h>
char *read_line(FILE *file);
-char *peek_line(FILE *file, int offset);
+char *peek_line(FILE *file, int offset, long *position);
char *read_line_buffer(FILE *file, char *string, size_t string_len);
#endif
diff --git a/include/sway/commands.h b/include/sway/commands.h
index 6e2395bd..593ae0f1 100644
--- a/include/sway/commands.h
+++ b/include/sway/commands.h
@@ -60,8 +60,8 @@ struct cmd_results *config_command(char *command);
/**
* Parse and handle a sub command
*/
-struct cmd_results *subcommand(char **argv, int argc,
- struct cmd_handler *handlers, int handlers_size);
+struct cmd_results *config_subcommand(char **argv, int argc,
+ struct cmd_handler *handlers, size_t handlers_size);
/*
* Parses a command policy rule.
*/