This is the mail archive of the
xconq-cvs@sourceware.cygnus.com
mailing list for the Xconq project.
xconq/ /ChangeLog ernel/actions.c ernel/game.h ...
- To: xconq-cvs@sourceware.cygnus.com
- Subject: xconq/ /ChangeLog ernel/actions.c ernel/game.h ...
- From: shebs@sourceware.cygnus.com
- Date: 17 Aug 1999 12:29:42 -0000
CVSROOT: /cvs/xconq
Module name: xconq
Changes by: shebs@egcs.cygnus.com 99/08/17 05:29:42
Modified files:
. : ChangeLog
kernel : actions.c game.h init.c kernel.h misc.h
obstack.c obstack.h plan.c skelconq.c task.c
unit.h
Log message:
Eliminate more compiler warnings.
* unit.h (ActionDefn dofn, checkfn): Remove fields.
* actions.c (execute_action): Dispatch on action type directly,
instead of using checkfn and dofn fields.
* actions.c, init.c, task.c: Remove unused vars.
* game.h, skelconq.c, unit.h: Convert to pure standard C
* kernel.h: Move decls of attack_can_damage_or_capture, etc.
* misc.h: Remove decl of getenv.
* obstack.h, obstack.c: Prototype fn argument of obstack_begin.
* plan.c: Make static vars extern.
(find_closest_unit): Prototype fn argument.