fix warning in invent.c
invent.c:1459:1: warning: no previous prototype for ‘mime_action’ [-Wmissing-prototypes]
1459 | mime_action(word)
| ^~~~~~~~~~~
This commit is contained in:
+2
-1
@@ -40,6 +40,7 @@ static void FDECL(menu_identify, (int));
|
|||||||
static boolean FDECL(tool_in_use, (struct obj *));
|
static boolean FDECL(tool_in_use, (struct obj *));
|
||||||
static int FDECL(adjust_ok, (struct obj *));
|
static int FDECL(adjust_ok, (struct obj *));
|
||||||
static char FDECL(obj_to_let, (struct obj *));
|
static char FDECL(obj_to_let, (struct obj *));
|
||||||
|
static void FDECL(mime_action, (const char *));
|
||||||
|
|
||||||
/* wizards can wish for venom, which will become an invisible inventory
|
/* wizards can wish for venom, which will become an invisible inventory
|
||||||
* item without this. putting it in inv_order would mean venom would
|
* item without this. putting it in inv_order would mean venom would
|
||||||
@@ -1455,7 +1456,7 @@ const char *action;
|
|||||||
return !strcmp(action, "take off") || !strcmp(action, "remove");
|
return !strcmp(action, "take off") || !strcmp(action, "remove");
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
mime_action(word)
|
mime_action(word)
|
||||||
const char *word;
|
const char *word;
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user