diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/readline.h | 2 | ||||
-rw-r--r-- | include/sway/commands.h | 4 |
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 @@ | |||
4 | #include <stdio.h> | 4 | #include <stdio.h> |
5 | 5 | ||
6 | char *read_line(FILE *file); | 6 | char *read_line(FILE *file); |
7 | char *peek_line(FILE *file, int offset); | 7 | char *peek_line(FILE *file, int offset, long *position); |
8 | char *read_line_buffer(FILE *file, char *string, size_t string_len); | 8 | char *read_line_buffer(FILE *file, char *string, size_t string_len); |
9 | 9 | ||
10 | #endif | 10 | #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); | |||
60 | /** | 60 | /** |
61 | * Parse and handle a sub command | 61 | * Parse and handle a sub command |
62 | */ | 62 | */ |
63 | struct cmd_results *subcommand(char **argv, int argc, | 63 | struct cmd_results *config_subcommand(char **argv, int argc, |
64 | struct cmd_handler *handlers, int handlers_size); | 64 | struct cmd_handler *handlers, size_t handlers_size); |
65 | /* | 65 | /* |
66 | * Parses a command policy rule. | 66 | * Parses a command policy rule. |
67 | */ | 67 | */ |