$NetBSD: patch-ab,v 1.1 2006/06/30 18:15:27 tron Exp $

--- xio.c.orig	2000-10-11 18:49:10.000000000 +0100
+++ xio.c	2006-06-30 19:13:51.000000000 +0100
@@ -32,10 +32,11 @@
 static struct dl_head dpys[1];		/* list of all displays */
 
 
+static void xio_timer(void *data, int fd);
+
 static int
 timer_init(int argc, char **argv)
 {
-    static xio_timer();
     int p[2], timer_pid, i;
 
     if (pipe(p) == -1)
@@ -157,11 +158,12 @@
 
 
 
+static void handle_event(struct xio *xio, int fd);
+
 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)
