summaryrefslogtreecommitdiff
path: root/games/xchomp/patches/patch-contact.c
blob: 4edb4decbaa2d88079e77eb187c8a9866c768058 (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
$NetBSD: patch-contact.c,v 1.1 2021/12/29 23:56:01 nia Exp $

Add return types. from FreeBSD Ports.

--- contact.c.orig	1994-03-18 05:13:16.000000000 +0000
+++ contact.c
@@ -17,7 +17,7 @@
  * with which the player collided.  In this case, it doesn't matter.
  */
 /*ARGSUSED*/
-die(dummy)
+void die(dummy)
 int dummy;
 {
    register int xx = pac_x, yy = pac_y, i, dx, dy;
@@ -116,7 +116,7 @@ int dummy;
  * of the eaten ghost, and then continues.  The parameter is
  * the array index of the eaten ghost.
  */
-eat(i)
+void eat(i)
 int i;
 {
    register int  xx = pac_x, yy = pac_y, j;
@@ -166,7 +166,7 @@ int i;
  * The eyes are harmless; this is a no-op.
  */
 /*ARGSUSED*/
-noop(dummy)
+void noop(dummy)
 int dummy;
 {
 }