Index: server/barbarian.c =================================================================== RCS file: /home/freeciv/CVS/freeciv/server/barbarian.c,v retrieving revision 1.55 diff -u -r1.55 barbarian.c --- server/barbarian.c 2002/09/27 12:32:45 1.55 +++ server/barbarian.c 2002/10/08 13:12:55 @@ -176,8 +176,7 @@ otherwise (not much land and no sea) kill enemy unit and stay in a village. The return value indicates if the explorer survived entering the vilage. **************************************************************************/ - -bool unleash_barbarians(struct player* victim, int x, int y) +bool unleash_barbarians(int x, int y) { struct player *barbarians; int unit, unit_cnt, land_cnt=0, sea_cnt=0; Index: server/barbarian.h =================================================================== RCS file: /home/freeciv/CVS/freeciv/server/barbarian.h,v retrieving revision 1.6 diff -u -r1.6 barbarian.h --- server/barbarian.h 2002/02/21 08:46:46 1.6 +++ server/barbarian.h 2002/10/08 13:12:55 @@ -29,7 +29,7 @@ #define MAP_FACTOR 2000 /* adjust this to get a good uprising frequency */ -bool unleash_barbarians(struct player *victim, int x, int y); +bool unleash_barbarians(int x, int y); void summon_barbarians(void); bool is_land_barbarian(struct player *pplayer); bool is_sea_barbarian(struct player *pplayer); Index: server/gotohand.c =================================================================== RCS file: /home/freeciv/CVS/freeciv/server/gotohand.c,v retrieving revision 1.152 diff -u -r1.152 gotohand.c --- server/gotohand.c 2002/09/11 17:04:43 1.152 +++ server/gotohand.c 2002/10/08 13:12:55 @@ -33,10 +33,6 @@ struct move_cost_map warmap; -struct stack_element { - unsigned char x, y; -}; - /* These are used for airplane GOTOs with waypoints */ #define MAXFUEL 100 Index: server/unittools.c =================================================================== RCS file: /home/freeciv/CVS/freeciv/server/unittools.c,v retrieving revision 1.185 diff -u -r1.185 unittools.c --- server/unittools.c 2002/09/28 23:00:51 1.185 +++ server/unittools.c 2002/10/08 13:12:55 @@ -2401,7 +2401,7 @@ int punit_y = punit->y; Unit_Type_id type = punit->type; - ok = unleash_barbarians(pplayer, punit_x, punit_y); + ok = unleash_barbarians(punit_x, punit_y); if (ok) { notify_player_ex(pplayer, punit_x, punit_y, E_HUT_BARB,