Fix missing prototypes

i3 will now compile with no warnings when -Wmissing-prototypes is used.
This commit is contained in:
Orestis Floros
2018-04-21 02:28:31 +03:00
parent 2a9522dda4
commit a65914f338
11 changed files with 42 additions and 42 deletions

View File

@ -217,7 +217,7 @@ static char **add_argument(char **original, char *opt_char, char *opt_arg, char
#define y(x, ...) yajl_gen_##x(gen, ##__VA_ARGS__)
#define ystr(str) yajl_gen_string(gen, (unsigned char *)str, strlen(str))
char *store_restart_layout(void) {
static char *store_restart_layout(void) {
setlocale(LC_NUMERIC, "C");
yajl_gen gen = yajl_gen_alloc(NULL);