Enforce strict prototypes

i3 will now compile with no warnings when -Wstrict-prototypes is used.
This commit is contained in:
Orestis Floros
2018-04-21 02:00:10 +03:00
parent a15fff2370
commit 2a9522dda4
10 changed files with 14 additions and 14 deletions

View File

@ -156,7 +156,7 @@ static int handle_key_release(void *ignored, xcb_connection_t *conn, xcb_key_rel
return 1;
}
static void finish_input() {
static void finish_input(void) {
char *command = (char *)concat_strings(glyphs_utf8, input_position);
/* count the occurrences of %s in the string */