Control: tags -1 + patch Hi,
I attached a patch that fixes the FTBFS with GCC 10. Regards, Reiner
--- xtron-1.1a.orig/xtron.c +++ xtron-1.1a/xtron.c @@ -21,6 +21,9 @@ #include "xtron.h" +struct Player p[2]; +struct Board b; + void plr_setup(void) { int i; only in patch2: unchanged: --- xtron-1.1a.orig/xtron.h +++ xtron-1.1a/xtron.h @@ -40,11 +40,15 @@ int alive; enum directions plr_dir; enum play_types plr_type; -} p[2]; +}; + +extern struct Player p[2]; struct Board { short int contents[200][200]; -} b; +}; + +extern struct Board b; void plr_setup(void); int plr_checkmove(int p_num, int new_val, int axis_type, enum directions dir);
signature.asc
Description: PGP signature