Commit Diff


commit - 6a40413bfd582f7ef59dbe0a6926d7f4b5d8bf8c
commit + 30bb27ff665e3352363e8f562c78085888983af4
blob - 90a5b407848bd07d74b11f3250c4f6e348a62783
blob + 780d00cd6185f0ea59de3b2b64c6eb90502fe37a
--- 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;