Fix missing prototypes
i3 will now compile with no warnings when -Wmissing-prototypes is used.
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user