summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-05-30 22:23:11 -0400
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-06-02 08:07:44 -0400
commit8bfa2def8876bb507aa0174e6b159a0a226889b4 (patch)
treecb913921a89cf5436a6f0912fcdf680dde973216 /include
parentSupport braces on next line for config blocks (diff)
downloadsway-8bfa2def8876bb507aa0174e6b159a0a226889b4.tar.gz
sway-8bfa2def8876bb507aa0174e6b159a0a226889b4.tar.zst
sway-8bfa2def8876bb507aa0174e6b159a0a226889b4.zip
Address first round of review for generic blocks
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 @@
4#include <stdio.h> 4#include <stdio.h>
5 5
6char *read_line(FILE *file); 6char *read_line(FILE *file);
7char *peek_line(FILE *file, int offset); 7char *peek_line(FILE *file, int offset, long *position);
8char *read_line_buffer(FILE *file, char *string, size_t string_len); 8char *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 */
63struct cmd_results *subcommand(char **argv, int argc, 63struct 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 */