Mercurial > hg > early-roguelike
diff arogue5/wear.c @ 218:56e748983fa8
Advanced Rogue 5: convert to ANSI function declarations.
This still leaves over a thousand lines of warning messages, mostly
related to the return types of daemons and fuses.
author | John "Elwin" Edwards |
---|---|
date | Sun, 07 Feb 2016 14:39:21 -0500 |
parents | f2951c4e28d9 |
children |
line wrap: on
line diff
--- a/arogue5/wear.c Sun Jan 31 13:45:07 2016 -0500 +++ b/arogue5/wear.c Sun Feb 07 14:39:21 2016 -0500 @@ -23,7 +23,8 @@ * Get the armor off of the players back */ -take_off() +void +take_off(void) { register struct object *obj; register struct linked_list *item; @@ -52,7 +53,8 @@ * The player wants to wear something, so let him/her put it on. */ -wear() +void +wear(void) { register struct linked_list *item; register struct object *obj;