summaryrefslogtreecommitdiff
path: root/cad/magic/patches/patch-plow_PlowRules2.c
blob: 107cd040190a9441216f5681cadeb2552cd66cd1 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
$NetBSD: patch-plow_PlowRules2.c,v 1.1 2013/03/03 01:11:11 joerg Exp $

--- plow/PlowRules2.c.orig	2013-03-02 22:36:54.000000000 +0000
+++ plow/PlowRules2.c
@@ -235,9 +235,8 @@ prFixedPenumbraTop(edge)
     }
 }
 
-int
-prFixedPenumbraBot(edge)
-    Edge *edge;	/* Edge being moved */
+void
+prFixedPenumbraBot(Edge *edge)
 {
     struct applyRule ar;
     PlowRule *pr;
@@ -499,9 +498,8 @@ prCoverTop(edge)
     }
 }
 
-int
-prCoverBot(edge)
-    Edge *edge;	/* Edge being moved */
+void
+prCoverBot(Edge *edge)
 {
     TileType ltype, rtype;
     PlowRule *pr;
@@ -585,9 +583,8 @@ prIllegalTop(edge)
 		plowCoverTopProc, (ClientData) &ar);
 }
 
-int
-prIllegalBot(edge)
-    Edge *edge;
+void
+prIllegalBot(Edge *edge)
 {
     TileTypeBitMask insideTypes;
     struct applyRule ar;
$NetBSD: patch-plow_PlowRules2.c,v 1.1 2013/03/03 01:11:11 joerg Exp $

--- plow/PlowRules2.c.orig	2013-03-02 22:36:54.000000000 +0000
+++ plow/PlowRules2.c
@@ -235,9 +235,8 @@ prFixedPenumbraTop(edge)
     }
 }
 
-int
-prFixedPenumbraBot(edge)
-    Edge *edge;	/* Edge being moved */
+void
+prFixedPenumbraBot(Edge *edge)
 {
     struct applyRule ar;
     PlowRule *pr;
@@ -499,9 +498,8 @@ prCoverTop(edge)
     }
 }
 
-int
-prCoverBot(edge)
-    Edge *edge;	/* Edge being moved */
+void
+prCoverBot(Edge *edge)
 {
     TileType ltype, rtype;
     PlowRule *pr;
@@ -585,9 +583,8 @@ prIllegalTop(edge)
 		plowCoverTopProc, (ClientData) &ar);
 }
 
-int
-prIllegalBot(edge)
-    Edge *edge;
+void
+prIllegalBot(Edge *edge)
 {
     TileTypeBitMask insideTypes;
     struct applyRule ar;