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

@ -20,12 +20,15 @@
#include <curses.h>
#include "rogue.h"
int dress_units(struct linked_list *item);
/*
* take_off:
* Get the armor off of the players back
*/
take_off()
void
take_off(void)
{
register struct object *obj;
register struct linked_list *item;
@ -74,7 +77,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;
@ -395,8 +399,8 @@ wear()
* given item of "clothing"?
*/
dress_units(item)
struct linked_list *item;
int
dress_units(struct linked_list *item)
{
register struct object *obj;