Move child_pid into child.c
This commit is contained in:
parent
d245d14765
commit
0e4487e489
|
@ -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 {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue