mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Properly define dispatchExceptionAtReset to fix compiler warnings
This commit is contained in:
@@ -300,8 +300,6 @@ static Bool xprintInitGlobalsCalled = FALSE;
|
||||
*/
|
||||
void PrinterInitGlobals(void)
|
||||
{
|
||||
extern char dispatchExceptionAtReset; /* defined in Xserver/dix/dispatch.c */
|
||||
|
||||
xprintInitGlobalsCalled = TRUE;
|
||||
|
||||
#ifdef DAMAGE
|
||||
|
||||
@@ -294,6 +294,7 @@ extern ClientPtr requestingClient;
|
||||
extern ClientPtr *clients;
|
||||
extern ClientPtr serverClient;
|
||||
extern int currentMaxClients;
|
||||
extern char dispatchExceptionAtReset;
|
||||
|
||||
typedef int HWEventQueueType;
|
||||
typedef HWEventQueueType* HWEventQueuePtr;
|
||||
|
||||
@@ -287,8 +287,6 @@ int userdefinedfontpath = 0;
|
||||
|
||||
char *dev_tty_from_init = NULL; /* since we need to parse it anyway */
|
||||
|
||||
extern char dispatchExceptionAtReset;
|
||||
|
||||
/* Extension enable/disable in miinitext.c */
|
||||
extern Bool EnableDisableExtension(char *name, Bool enable);
|
||||
extern void EnableDisableExtensionError(char *name, Bool enable);
|
||||
|
||||
Reference in New Issue
Block a user