XRogue: convert to ANSI-style function declarations.
This commit is contained in:
parent
e8e6e604c3
commit
2853120387
41 changed files with 1281 additions and 908 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue