27b1f9545c
with gcc 4.1.
34 lines
607 B
Text
34 lines
607 B
Text
$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) {
|