11$NetBSD: patch-aa,v 1.1 2005/04/14 07:28:40 tron Exp $
22
33--- xaniroc.c.orig 1994-01-07 10:51:13.000000000 +0000
4- +++ xaniroc.c 2005-04-14 08:18:12.000000000 +0100
5- @@ -62,22 +62,19 @@
4+ +++ xaniroc.c
5+ @@ -19,9 +19,10 @@
6+ */
7+
8+ #include <stdio.h> /* get standard I/O functions */
9+ +#include <stdlib.h> /* get standard lib functions */
10+ #include <X11/Xlib.h> /* get the X library definitions */
11+ #include <X11/Xutil.h> /* get the X11 utility definitions */
12+ -#include <sys/signal.h> /* get signal definitions */
13+ +#include <signal.h> /* get signal definitions */
14+ #include <sys/time.h> /* get time definitions */
15+ #include <string.h> /* get string functions */
16+ #include "bitmaps.h" /* get the bitmaps for the cursor */
17+ @@ -62,22 +63,19 @@ GC gc_xor, /* GC's */
618 ***************************************************************************************************
719 */
820
@@ -28,15 +40,15 @@ $NetBSD: patch-aa,v 1.1 2005/04/14 07:28:40 tron Exp $
2840 {
2941
3042 /***************************************************************************************************
31- @@ -311,6 +308 ,7 @@
43+ @@ -311,6 +309 ,7 @@ void main(int argc, char *argv[])
3244 if(i >= 24) i = 0;
3345 }
3446 }
3547+ return 0;
3648 } /*end of main */
3749
3850 /***************************************************************************************************
39- @@ -387,11 +385 ,7 @@
51+ @@ -387,11 +386 ,7 @@ int pointer_in_rootwindow(void)
4052 * signal handler that cleans up the cursor
4153 ***************************************************************************************************
4254 */
0 commit comments