XRogue: convert to ANSI-style function declarations.

This commit is contained in:
John "Elwin" Edwards 2016-03-02 21:13:26 -05:00
parent e8e6e604c3
commit 2853120387
41 changed files with 1281 additions and 908 deletions

View file

@ -26,11 +26,9 @@
* the reason code if the defender is killed. Otherwise return 0.
*/
effect(att, def, weap, thrown, see_att, see_def)
register struct thing *att, *def;
struct object *weap;
bool thrown;
register bool see_att, see_def;
int
effect(struct thing *att, struct thing *def, struct object *weap, bool thrown,
bool see_att, bool see_def)
{
register bool att_player, def_player;
char attname[LINELEN+1], defname[LINELEN+1];