summaryrefslogtreecommitdiff
path: root/games/xchomp/files/patch-contact.c
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-02-04 14:30:02 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-02-04 14:30:02 +0000
commit5eee5a30c71c8d68f07ea563c9af100c04e1a19a (patch)
tree282265cf232525e9af5b4289080a1b396deb233e /games/xchomp/files/patch-contact.c
parent- Update MASTER_SITES (diff)
- Update MASTER_SITES
- Fix build with clang - Add MAKE_JOBS_SAFE PR: 175572 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=311621
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;
+ {
+ }