complaint with recent versions of gcc

This commit is contained in:
U-Khasa\Vitor 2010-02-10 03:02:07 -06:00
parent 45b2d5468b
commit 4f611e93ec
2 changed files with 9 additions and 9 deletions

9
LGPL/swi_console/menu.c Normal file → Executable file
View 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
View 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);