Advanced Rogue 7: convert to ANSI-style function declarations.
Almost 1500 lines of compiler warnings remain, and the GCC developers are already working on a new version with even more warnings turned on by default.
This commit is contained in:
parent
f38b2223c8
commit
e8e6e604c3
39 changed files with 1181 additions and 889 deletions
|
|
@ -26,7 +26,8 @@
|
|||
* Get the armor off of the players back
|
||||
*/
|
||||
|
||||
take_off()
|
||||
void
|
||||
take_off(void)
|
||||
{
|
||||
register struct object *obj;
|
||||
register struct linked_list *item;
|
||||
|
|
@ -75,7 +76,8 @@ take_off()
|
|||
* 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;
|
||||
|
|
@ -389,8 +391,8 @@ wear()
|
|||
* How many movements periods does it take to put on or remove the
|
||||
* given item of "clothing"?
|
||||
*/
|
||||
dress_units(item)
|
||||
struct linked_list *item;
|
||||
int
|
||||
dress_units(struct linked_list *item)
|
||||
{
|
||||
register struct object *obj;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue