switch source tree from k&r to c99
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
/* take away the hero's money */
|
||||
void
|
||||
take_gold()
|
||||
take_gold(void)
|
||||
{
|
||||
struct obj *otmp, *nobj;
|
||||
int lost_money = 0;
|
||||
@@ -32,7 +32,7 @@ take_gold()
|
||||
|
||||
/* #sit command */
|
||||
int
|
||||
dosit()
|
||||
dosit(void)
|
||||
{
|
||||
static const char sit_message[] = "sit on the %s.";
|
||||
register struct trap *trap = t_at(u.ux, u.uy);
|
||||
@@ -331,7 +331,7 @@ dosit()
|
||||
|
||||
/* curse a few inventory items at random! */
|
||||
void
|
||||
rndcurse()
|
||||
rndcurse(void)
|
||||
{
|
||||
int nobj = 0;
|
||||
int cnt, onum;
|
||||
@@ -401,7 +401,7 @@ rndcurse()
|
||||
|
||||
/* remove a random INTRINSIC ability */
|
||||
void
|
||||
attrcurse()
|
||||
attrcurse(void)
|
||||
{
|
||||
switch (rnd(11)) {
|
||||
case 1:
|
||||
|
||||
Reference in New Issue
Block a user