diff -ur alevt-1.6.1/xio.c alevt-1.6.1-gcc4/xio.c --- alevt-1.6.1/xio.c 2002-08-20 05:09:38.000000000 +0200 +++ alevt-1.6.1-gcc4/xio.c 2005-07-28 15:08:53.281978632 +0200 @@ -31,11 +31,12 @@ static struct dl_head dpys[1]; /* list of all displays */ +static void xio_timer(); +static void handle_event(); static int timer_init(int argc, char **argv) { - static void xio_timer(); int p[2], timer_pid, i; if (pipe(p) == -1) @@ -160,7 +161,6 @@ xio_open_dpy(char *dpy, int argc, char **argv) { XClassHint classhint[1]; - static void handle_event(); //forward ref struct xio *xio; if (local_init(argc, argv) == -1)