summaryrefslogtreecommitdiff
path: root/games/spider/patches/patch-globals_h
blob: 1a8b2980c275d50522af4f998ff274eca9d9f1ef (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
35
36
37
$NetBSD: patch-globals_h,v 1.2 2012/12/20 22:05:06 joerg Exp $

- use standard headers
- don't provide own malloc declarations

--- globals.h.orig	1991-09-28 17:46:20.000000000 +0000
+++ globals.h
@@ -10,6 +10,8 @@
  *
  */
 
+#include <stdlib.h>
+
 /*
  * spider global variables
  */
@@ -92,10 +94,16 @@ void	button_release();
 void	do_expand();
 #endif KITLESS
 
+void read_file(char fname);
+void write_file(char *fname, Bool (*confirmer)());
+void undo(void);
+
+void redraw_card_stacks(int x, int y, int w, int h);
+void redraw_deck(int x, int y, int w, int h);
+void redraw_card_piles(int x, int y, int w, int h);
+void deal_next_hand(Bool log);
+void expand(CardList list);
+
 #ifdef XAW
 Bool	can_get_help_files();
 #endif
-
-extern char	*malloc();
-extern char	*calloc();
-extern char	*realloc();