Move a few prototypes and static'ed a few functions
Moved prototypes for initialise() and action() from main.c to advent.h Made the following functions static, so they wouldn't require prototypes: sig_handler (main.c) spotted_by_pirate (main.c) light (actions.c)
This commit is contained in:
parent
14c83ede8e
commit
a3485d2a41
4 changed files with 9 additions and 6 deletions
|
@ -633,7 +633,7 @@ static int inven(void)
|
|||
return GO_CLEAROBJ;
|
||||
}
|
||||
|
||||
int light(token_t verb, token_t obj)
|
||||
static int light(token_t verb, token_t obj)
|
||||
/* Light. Applicable only to lamp and urn. */
|
||||
{
|
||||
int spk = ACTSPK[verb];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue