Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > by-pkgid > 9318e235ea279b73c38e312c660b57e6 > files > 5

alevt-1.6.1-10mdv2010.1.src.rpm

--- xio.c.xio	2005-07-24 13:38:11.000000000 +0200
+++ xio.c	2005-07-24 13:38:15.000000000 +0200
@@ -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)
@@ -162,12 +162,12 @@
 }
 
 
+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)