Mercurial > hg > early-roguelike
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 217:94a0d9dd5ce1 | 218:56e748983fa8 |
|---|---|
| 21 /* | 21 /* |
| 22 * take_off: | 22 * take_off: |
| 23 * Get the armor off of the players back | 23 * Get the armor off of the players back |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 take_off() | 26 void |
| 27 take_off(void) | |
| 27 { | 28 { |
| 28 register struct object *obj; | 29 register struct object *obj; |
| 29 register struct linked_list *item; | 30 register struct linked_list *item; |
| 30 | 31 |
| 31 /* What does player want to take off? */ | 32 /* What does player want to take off? */ |
| 50 /* | 51 /* |
| 51 * wear: | 52 * wear: |
| 52 * The player wants to wear something, so let him/her put it on. | 53 * The player wants to wear something, so let him/her put it on. |
| 53 */ | 54 */ |
| 54 | 55 |
| 55 wear() | 56 void |
| 57 wear(void) | |
| 56 { | 58 { |
| 57 register struct linked_list *item; | 59 register struct linked_list *item; |
| 58 register struct object *obj; | 60 register struct object *obj; |
| 59 register int i; | 61 register int i; |
| 60 char buf[LINELEN]; | 62 char buf[LINELEN]; |
