Commit d6bc9fc9 authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

winex11.drv/explorer: Add CDECL to exported functions.

parent 602b9b08
......@@ -128,7 +128,7 @@ void X11DRV_init_desktop( Window win, unsigned int width, unsigned int height )
*
* Create the X11 desktop window for the desktop mode.
*/
Window X11DRV_create_desktop( UINT width, UINT height )
Window CDECL X11DRV_create_desktop( UINT width, UINT height )
{
XSetWindowAttributes win_attr;
Window win;
......
......@@ -415,7 +415,7 @@ static BOOL delete_icon( struct tray_icon *icon )
*
* Driver-side implementation of Shell_NotifyIcon.
*/
int wine_notify_icon( DWORD msg, NOTIFYICONDATAW *data )
int CDECL wine_notify_icon( DWORD msg, NOTIFYICONDATAW *data )
{
BOOL ret = FALSE;
struct tray_icon *icon;
......
......@@ -105,7 +105,7 @@ static unsigned long create_desktop( const WCHAR *name, unsigned int width, unsi
HMODULE x11drv = GetModuleHandleA( "winex11.drv" );
HDESK desktop;
unsigned long xwin = 0;
unsigned long (*create_desktop_func)(unsigned int, unsigned int);
unsigned long (CDECL *create_desktop_func)(unsigned int, unsigned int);
desktop = CreateDesktopW( name, NULL, NULL, 0, DESKTOP_ALL_ACCESS, NULL );
if (!desktop)
......
......@@ -35,7 +35,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(systray);
#define IS_OPTION_FALSE(ch) \
((ch) == 'n' || (ch) == 'N' || (ch) == 'f' || (ch) == 'F' || (ch) == '0')
static int (*wine_notify_icon)(DWORD,NOTIFYICONDATAW *);
static int (CDECL *wine_notify_icon)(DWORD,NOTIFYICONDATAW *);
/* an individual systray icon, unpacked from the NOTIFYICONDATA and always in unicode */
struct icon
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment