Commit Diff
--- src/main.c +++ src/main.c @@ -36,7 +36,6 @@ static int reload_battery = 0; bool weather_loc_valid = false; bool mail_path_valid = false; -int weather_pipe[2]; void sig_handler(int sig) @@ -78,6 +77,7 @@ main(int argc, char *argv[]) char statbar_text[MAX_STATBAR_LEN]; bool dirty = true; int batt_fd; + int weather_pipe[2]; pid_t batt_pid; unsigned char cmd; struct pollfd *cmd_pfd = NULL;
