pkgsrc/games/spider/patches/patch-globals_h
2012-12-20 22:05:05 +00:00

37 lines
807 B
Text

$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();