summaryrefslogtreecommitdiff
path: root/games/spider/patches/patch-ac
blob: ba0fa61f8978b3d6d8c59ead626f872cb472505e (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
$NetBSD: patch-ac,v 1.1 2006/08/02 16:04:33 kristerw Exp $

--- movelog.c.orig	2006-08-02 17:55:55.000000000 +0200
+++ movelog.c	2006-08-02 17:57:51.000000000 +0200
@@ -33,6 +33,9 @@
 
 extern int	cheat_count;
 
+static int card_to_int(CardPtr card);
+static int restore_game(char* str, char* str2);
+
 make_deck_cache()
 {
 CardPtr	tmp;
@@ -299,8 +302,7 @@
 }
 
 static int
-card_to_int(card)
-CardPtr	card;
+card_to_int(CardPtr card)
 {
 int	val;
 
@@ -787,8 +789,7 @@
 }
 
 static int
-restore_game(str, str2)
-char	*str, *str2;
+restore_game(char* str, char* str2)
 {
 
 	if (read_position(str) != 0)	{