From dd40c46d50f9f22643b828e80783d3576b9c1d50 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Mon, 15 Oct 2018 23:04:04 -0400 Subject: Fix menu warnings change offending bool return to int warning: cast between incompatible function types from '_Bool (*)(void)' to 'int (*)(void)' [-Wcast-function-type] forgot to remove -- typedef int (*menu_function)(void); Change-Id: Ie4c8d3ddb0fb7843c4ec584203350d658d6bee3e --- apps/menu.h | 1 - 1 file changed, 1 deletion(-) (limited to 'apps/menu.h') diff --git a/apps/menu.h b/apps/menu.h index ee2d9e7f40..df5f7ced9f 100644 --- a/apps/menu.h +++ b/apps/menu.h @@ -41,7 +41,6 @@ enum menu_item_type { }; #define MENU_TYPE_MASK 0xF /* MT_* type */ -typedef int (*menu_function)(void); struct menu_func { union { int (*function_w_param)(void* param); /* intptr_t instead of void* -- cgit v1.2.3