winex11: Get rid of the X11 locking functions.

This commit is contained in:
Alexandre Julliard 2012-08-16 16:52:31 +02:00
parent 3bd185c3df
commit 9980868b81
3 changed files with 0 additions and 33 deletions

View File

@ -61,10 +61,6 @@
@ cdecl LoadTabletInfo(long) X11DRV_LoadTabletInfo
@ cdecl WTInfoW(long long ptr) X11DRV_WTInfoW
# X11 locks
@ cdecl -norelay wine_tsx11_lock()
@ cdecl -norelay wine_tsx11_unlock()
# Desktop
@ cdecl wine_create_desktop(long long) X11DRV_create_desktop

View File

@ -63,9 +63,6 @@ typedef int Status;
#define WINE_XDND_VERSION 4
extern void CDECL wine_tsx11_lock(void);
extern void CDECL wine_tsx11_unlock(void);
/* X physical pen */
typedef struct
{

View File

@ -56,15 +56,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(x11drv);
WINE_DECLARE_DEBUG_CHANNEL(synchronous);
WINE_DECLARE_DEBUG_CHANNEL(winediag);
static CRITICAL_SECTION X11DRV_CritSection;
static CRITICAL_SECTION_DEBUG critsect_debug =
{
0, 0, &X11DRV_CritSection,
{ &critsect_debug.ProcessLocksList, &critsect_debug.ProcessLocksList },
0, 0, { (DWORD_PTR)(__FILE__ ": X11DRV_CritSection") }
};
static CRITICAL_SECTION X11DRV_CritSection = { &critsect_debug, -1, 0, 0, 0, 0 };
static Screen *screen;
Visual *visual;
XPixmapFormatValues **pixmap_formats;
@ -299,23 +290,6 @@ static int error_handler( Display *display, XErrorEvent *error_evt )
return 0;
}
/***********************************************************************
* wine_tsx11_lock (X11DRV.@)
*/
void CDECL wine_tsx11_lock(void)
{
EnterCriticalSection( &X11DRV_CritSection );
}
/***********************************************************************
* wine_tsx11_unlock (X11DRV.@)
*/
void CDECL wine_tsx11_unlock(void)
{
LeaveCriticalSection( &X11DRV_CritSection );
}
/***********************************************************************
* init_pixmap_formats
*/