complaint with recent versions of gcc
This commit is contained in:
parent
45b2d5468b
commit
4f611e93ec
9
LGPL/swi_console/menu.c
Normal file → Executable file
9
LGPL/swi_console/menu.c
Normal file → Executable file
@ -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);
|
||||
|
9
LGPL/swi_console/menu.h
Normal file → Executable file
9
LGPL/swi_console/menu.h
Normal file → Executable file
@ -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);
|
||||
|
Reference in New Issue
Block a user