Skip to content

Commit 75f87a3

Browse files
committed
xaniroc: Fix implicit function decls
1 parent 70dbcc7 commit 75f87a3

2 files changed

Lines changed: 17 additions & 5 deletions

File tree

x11/xaniroc/distinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ $NetBSD: distinfo,v 1.7 2021/10/26 11:34:33 nia Exp $
33
BLAKE2s (xaniroc.src.tar.Z) = 8c6d972f8114a61c78e8ca8f6f371925f41538e5e7694ee67c31fc02fe8d8742
44
SHA512 (xaniroc.src.tar.Z) = 1606c8fee669acf62e5a0840dbeb7a6232047a41b92dfb955a65054b0b57184a88b929f2174f7f884cd8fd1e25e3e1d38549246266aef5bfb5514b10434b20f3
55
Size (xaniroc.src.tar.Z) = 16747 bytes
6-
SHA1 (patch-aa) = 26e849c5a0650be740009dfeade422cff80e9708
6+
SHA1 (patch-aa) = 6f0e15298b4db112d0fe9e1a44c87b239c079273

x11/xaniroc/patches/patch-aa

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,20 @@
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

Comments
 (0)