From 4f611e93ec897522ddffe49e4e1d08a3247c4c4c Mon Sep 17 00:00:00 2001 From: "U-Khasa\\Vitor" Date: Wed, 10 Feb 2010 03:02:07 -0600 Subject: [PATCH] complaint with recent versions of gcc --- LGPL/swi_console/menu.c | 9 --------- LGPL/swi_console/menu.h | 9 +++++++++ 2 files changed, 9 insertions(+), 9 deletions(-) mode change 100644 => 100755 LGPL/swi_console/menu.c mode change 100644 => 100755 LGPL/swi_console/menu.h 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);