alevt/alevt-xio.patch

29 lines
642 B
Diff

--- alevt-1.6.1/xio.c.xx 2005-01-23 17:08:25.815613825 +0100
+++ alevt-1.6.1/xio.c 2005-01-23 17:08:45.425366954 +0100
@@ -31,11 +31,11 @@
static struct dl_head dpys[1]; /* list of all displays */
+static void xio_timer();
static int
timer_init(int argc, char **argv)
{
- static void xio_timer();
int p[2], timer_pid, i;
if (pipe(p) == -1)
@@ -156,11 +156,11 @@
+static void handle_event(); //forward ref
struct xio *
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)