manually update execinfo.mk
[dports.git] / games / xchomp / files / patch-resources.c
1 --- resources.c.orig
2 +++ resources.c
3 @@ -9,7 +9,7 @@
4   * contexts.
5   */
6  
7 -create_window(argc, argv)
8 +void create_window(argc, argv)
9  int argc;
10  char *argv[];
11  {
12 @@ -39,7 +39,7 @@
13  }
14  
15  
16 -create_pac()
17 +void create_pac()
18  {
19     int i;
20  
21 @@ -127,7 +127,7 @@
22  }
23  
24  
25 -create_ghost()
26 +void create_ghost()
27  {
28     int i;
29  
30 @@ -164,7 +164,7 @@
31  }
32  
33  
34 -create_maze_symbols()
35 +void create_maze_symbols()
36  {
37     int          i;
38     Pixmap       empty;
39 @@ -190,7 +190,7 @@
40  }
41  
42  
43 -create_maps()
44 +void create_maps()
45  {
46     powermap = XCreatePixmap(display, root, WIN_WIDTH, WIN_HEIGHT, depth);
47     save = XCreatePixmap(display, root, WIN_WIDTH, WIN_HEIGHT, depth);
48 @@ -199,8 +199,7 @@
49  }
50  
51  
52 -
53 -create_fruit()
54 +void create_fruit()
55  {
56     fruit_pix[0] = XCreatePixmapFromBitmapData(display, root, fcherry_bits,
57        GHOST_SIZE, GHOST_SIZE, 1, 0, 1);
58 @@ -261,7 +260,7 @@
59  }
60  
61  
62 -create_GCs()
63 +void create_GCs()
64  {
65     XGCValues            gcv;
66     unsigned long        mask;
67 @@ -341,7 +340,7 @@
68  }
69  
70  
71 -create_demo_images()
72 +void create_demo_images()
73  {
74     demo_mask[0] = XCreatePixmapFromBitmapData(display, root, bigc_bits,
75        48, 48, 1, 0, 1);
76 @@ -380,7 +379,7 @@
77  }
78  
79  
80 -clear_maps()
81 +void clear_maps()
82  {
83     XFillRectangle(display, powermap, clearGC, 0, 0, WIN_WIDTH, WIN_HEIGHT);
84     XFillRectangle(display, save, clearGC, 0, 0, WIN_WIDTH, WIN_HEIGHT);
85 @@ -388,7 +387,7 @@
86  }
87  
88  
89 -create_regions()
90 +void create_regions()
91  {
92     XRectangle  full_rect;
93     int         i;
94 @@ -411,7 +410,7 @@
95  }
96  
97  
98 -destroy_regions()
99 +void destroy_regions()
100  {
101     int i;
102