Super-Rogue: convert to ANSI-style function declarations.

This fixes most of the build warnings.
This commit is contained in:
John "Elwin" Edwards 2016-01-31 13:45:07 -05:00
parent 0f87d5b4d8
commit 59f448e92e
33 changed files with 783 additions and 518 deletions

View file

@ -23,7 +23,8 @@
* quaff:
* Let the hero drink a potion
*/
quaff()
void
quaff(void)
{
reg struct object *obj;
reg struct linked_list *item, *titem;
@ -189,7 +190,7 @@ quaff()
p_know[P_XHEAL] = TRUE;
if (!iswearing(R_SLOW))
notslow(FALSE);
unconfuse();
unconfuse(FALSE);
extinguish(unconfuse);
sight(FALSE);
}