|
Lines 31-41
Link Here
|
| 31 |
|
31 |
|
| 32 |
static struct dl_head dpys[1]; /* list of all displays */ |
32 |
static struct dl_head dpys[1]; /* list of all displays */ |
| 33 |
|
33 |
|
|
|
34 |
static void xio_timer(); |
| 35 |
static void handle_event(); |
| 34 |
|
36 |
|
| 35 |
static int |
37 |
static int |
| 36 |
timer_init(int argc, char **argv) |
38 |
timer_init(int argc, char **argv) |
| 37 |
{ |
39 |
{ |
| 38 |
static void xio_timer(); |
|
|
| 39 |
int p[2], timer_pid, i; |
40 |
int p[2], timer_pid, i; |
| 40 |
|
41 |
|
| 41 |
if (pipe(p) == -1) |
42 |
if (pipe(p) == -1) |
|
Lines 160-166
Link Here
|
| 160 |
xio_open_dpy(char *dpy, int argc, char **argv) |
161 |
xio_open_dpy(char *dpy, int argc, char **argv) |
| 161 |
{ |
162 |
{ |
| 162 |
XClassHint classhint[1]; |
163 |
XClassHint classhint[1]; |
| 163 |
static void handle_event(); //forward ref |
|
|
| 164 |
struct xio *xio; |
164 |
struct xio *xio; |
| 165 |
|
165 |
|
| 166 |
if (local_init(argc, argv) == -1) |
166 |
if (local_init(argc, argv) == -1) |