Move child_pid into child.c

This commit is contained in:
Axel Wagner 2010-09-17 03:03:43 +02:00
parent d245d14765
commit 0e4487e489
2 changed files with 3 additions and 1 deletions

View File

@ -13,7 +13,6 @@ typedef struct rect_t rect;
typedef int bool; typedef int bool;
struct ev_loop* main_loop; struct ev_loop* main_loop;
pid_t child_pid;
char *statusline; char *statusline;
struct rect_t { struct rect_t {

View File

@ -20,6 +20,9 @@
#include "common.h" #include "common.h"
/* Global variables for child_*() */
pid_t child_pid;
/* stdin- and sigchild-watchers */ /* stdin- and sigchild-watchers */
ev_io *stdin_io; ev_io *stdin_io;
ev_child *child_sig; ev_child *child_sig;