summaryrefslogtreecommitdiff
path: root/games/xchomp/files/patch-contact.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/xchomp/files/patch-contact.c')
-rw-r--r--games/xchomp/files/patch-contact.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/games/xchomp/files/patch-contact.c b/games/xchomp/files/patch-contact.c
new file mode 100644
index 000000000000..1a0635e26af3
--- /dev/null
+++ b/games/xchomp/files/patch-contact.c
@@ -0,0 +1,29 @@
+--- contact.c.orig
++++ 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 @@
+ * 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 @@
+ * The eyes are harmless; this is a no-op.
+ */
+ /*ARGSUSED*/
+-noop(dummy)
++void noop(dummy)
+ int dummy;
+ {
+ }