Files
2013-09-26 17:14:40 +02:00

32 lines
706 B
Plaintext

$NetBSD: patch-ab,v 1.2 2007/09/21 16:53:42 veego Exp $
--- xio.c.orig 2002-08-20 05:09:38.000000000 +0200
+++ xio.c 2007-05-29 07:17:26.000000000 +0200
@@ -31,11 +31,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 void xio_timer();
int p[2], timer_pid, i;
if (pipe(p) == -1)
@@ -156,11 +156,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)