rogue4: fix most GCC5 warnings.
Converting all function definitions to ANSI style accounts for most of the change. This has exposed other problems, such as daemons not actually being their stated type, that will require more careful solutions.
This commit is contained in:
parent
384386d71c
commit
c1d6a6af6a
32 changed files with 625 additions and 394 deletions
|
|
@ -16,7 +16,8 @@
|
|||
* wear:
|
||||
* The player wants to wear something, so let him/her put it on.
|
||||
*/
|
||||
wear()
|
||||
void
|
||||
wear(void)
|
||||
{
|
||||
register THING *obj;
|
||||
register char *sp;
|
||||
|
|
@ -50,7 +51,8 @@ wear()
|
|||
* take_off:
|
||||
* Get the armor off of the players back
|
||||
*/
|
||||
take_off()
|
||||
void
|
||||
take_off(void)
|
||||
{
|
||||
register THING *obj;
|
||||
|
||||
|
|
@ -77,7 +79,8 @@ take_off()
|
|||
* waste_time:
|
||||
* Do nothing but let other things happen
|
||||
*/
|
||||
waste_time()
|
||||
void
|
||||
waste_time(void)
|
||||
{
|
||||
do_daemons(BEFORE);
|
||||
do_fuses(BEFORE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue