From 0a85a9c731d9cfac928b6ce96ce348de2e704b30 Mon Sep 17 00:00:00 2001 From: nhmall Date: Sat, 23 Jan 2021 09:07:33 -0500 Subject: [PATCH] fix warning in invent.c MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit invent.c:1459:1: warning: no previous prototype for ‘mime_action’ [-Wmissing-prototypes] 1459 | mime_action(word) | ^~~~~~~~~~~ --- src/invent.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/invent.c b/src/invent.c index 17e49514d..afd92389d 100644 --- a/src/invent.c +++ b/src/invent.c @@ -40,6 +40,7 @@ static void FDECL(menu_identify, (int)); static boolean FDECL(tool_in_use, (struct obj *)); static int FDECL(adjust_ok, (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 * 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"); } -void +static void mime_action(word) const char *word; { -- 2.50.1