X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=actions.c;h=346d04a7b604534115060d79a39b2c1980581951;hp=e88773e94245869e39f0dc3ce598c0f82127a647;hb=eaee02aa09d1db40ea10d3b77e7df1e2e9c6b9ba;hpb=2182dc23ff80e33a10952fcd9c1cfe25c91b971f diff --git a/actions.c b/actions.c index e88773e..346d04a 100644 --- a/actions.c +++ b/actions.c @@ -614,7 +614,7 @@ static int fly(token_t verb, token_t obj) return GO_TERMINATE; } -static int inven(token_t obj) +static int inven(void) /* Inventory. If object, treat same as find. Else report on current burden. */ { int spk=NO_CARRY; @@ -1087,7 +1087,7 @@ int action(FILE *input, enum speechpart part, long verb, token_t obj) case 16: /* TOSS */ return GO_UNKNOWN; case 17: /* QUIT */ return quit(input); case 18: /* FIND */ return GO_UNKNOWN; - case 19: /* INVEN */ return inven(obj); + case 19: /* INVEN */ return inven(); case 20: /* FEED */ return GO_UNKNOWN; case 21: /* FILL */ return fill(verb, obj); case 22: /* BLAST */ return blast();