diff --git a/LGPL/swi_console/menu.c b/LGPL/swi_console/menu.c old mode 100644 new mode 100755 index 5585f354c..65e19c27b --- a/LGPL/swi_console/menu.c +++ b/LGPL/swi_console/menu.c @@ -218,15 +218,6 @@ rlc_add_menu_bar(HWND cwin) #define MEN_MAGIC 0x6c4a58e0 -typedef struct menu_data -{ intptr_t magic; /* safety */ - const TCHAR *menu; /* menu to operate on */ - const TCHAR *label; /* new label */ - const TCHAR *before; /* add before this one */ - int rc; /* result */ -} menu_data; - - void rlc_menu_action(rlc_console c, menu_data *data) { RlcData b = rlc_get_data(c); diff --git a/LGPL/swi_console/menu.h b/LGPL/swi_console/menu.h old mode 100644 new mode 100755 index e42e8c815..f3653d112 --- a/LGPL/swi_console/menu.h +++ b/LGPL/swi_console/menu.h @@ -35,6 +35,15 @@ #define IDM_BREAK 14 #define IDM_FONT 15 +typedef struct menu_data +{ intptr_t magic; /* safety */ + const TCHAR *menu; /* menu to operate on */ + const TCHAR *label; /* new label */ + const TCHAR *before; /* add before this one */ + int rc; /* result */ +} menu_data; + + const TCHAR *lookupMenuId(UINT id); void rlc_add_menu_bar(HWND win); void rlc_menu_action(rlc_console c, struct menu_data *data);