summaryrefslogtreecommitdiffstats
path: root/games/xtruco/files/patch-xtruco.c
blob: 54cc81a6c90c753c0f7402de0269d5703640d63d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- xtruco.c.orig	2011-09-28 10:45:56.000000000 +0800
+++ xtruco.c	2011-09-28 10:51:28.000000000 +0800
@@ -67,6 +67,7 @@ int			pc, you, Who_Play, You_Play, first
 int			alert, Sum_Val, ValGame, danger, Begining;
 int			Play, Beginer, Who_Say_Truco,score1, score2;
 int			SHOW=1;
+void Refresh(Display *, Window, GC, Pixmap, int, int, int, int);
 
 main( argc, argv )
 int argc;
@@ -603,6 +604,7 @@ int         *width, *height;
     return( True );
 }
 
+void
 Refresh( display, window, gc, pixmap, x, y, width, height )
 Display   *display;
 Window    window;
@@ -632,6 +634,7 @@ int       x, y, width, height;
     }
     XCopyArea( display, pixmap, window, gc, x, y, width,
 			height, x, y );
+	return;
 }
 
 MakeButtons( display, window, gc, fore, back, font_id, h, v )
OpenPOWER on IntegriCloud