Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver
This commit is contained in:
		
						commit
						caffac3843
					
				|  | @ -30,3 +30,6 @@ include/xkb-config.h | ||||||
| include/xorg-config.h | include/xorg-config.h | ||||||
| include/xorg-server.h | include/xorg-server.h | ||||||
| include/xwin-config.h | include/xwin-config.h | ||||||
|  | hw/dmx/config/parser.c | ||||||
|  | hw/dmx/config/parser.h | ||||||
|  | hw/dmx/config/scanner.c | ||||||
|  |  | ||||||
|  | @ -196,6 +196,9 @@ void XpPutTrayMediumListAttr(XpContextPtr pContext, | ||||||
| 			     XPAttributes pool, | 			     XPAttributes pool, | ||||||
| 			     XpOid oid, | 			     XpOid oid, | ||||||
| 			     const XpOidTrayMediumList* tm); | 			     const XpOidTrayMediumList* tm); | ||||||
|  | void XpValidatePrinterMediaAttrs(XpContextPtr pContext, | ||||||
|  | 				 const XpOidList* valid_trays, | ||||||
|  | 				 const XpOidList* valid_sizes); | ||||||
| /*
 | /*
 | ||||||
|  * Attribute pool validation |  * Attribute pool validation | ||||||
|  */ |  */ | ||||||
|  | @ -204,6 +207,7 @@ void XpValidateAttributePool(XpContextPtr pContext, | ||||||
| 			     const XpValidatePoolsRec* vpr); | 			     const XpValidatePoolsRec* vpr); | ||||||
| void XpValidatePrinterPool(XpContextPtr pContext, | void XpValidatePrinterPool(XpContextPtr pContext, | ||||||
| 			   const XpValidatePoolsRec* vpr); | 			   const XpValidatePoolsRec* vpr); | ||||||
|  | void XpValidateNotificationProfile(XpContextPtr pContext); | ||||||
| void XpValidateJobPool(XpContextPtr pContext, | void XpValidateJobPool(XpContextPtr pContext, | ||||||
| 		       const XpValidatePoolsRec* vpr); | 		       const XpValidatePoolsRec* vpr); | ||||||
| void XpValidateDocumentPool(XpContextPtr pContext, | void XpValidateDocumentPool(XpContextPtr pContext, | ||||||
|  |  | ||||||
|  | @ -288,10 +288,6 @@ static const char configFilePath[] = | ||||||
| 
 | 
 | ||||||
| static const char printServerConfigDir[] = "XPSERVERCONFIGDIR"; | static const char printServerConfigDir[] = "XPSERVERCONFIGDIR"; | ||||||
| 
 | 
 | ||||||
| static int printScreenPrivIndex, |  | ||||||
| 	   printWindowPrivIndex, |  | ||||||
| 	   printGCPrivIndex; |  | ||||||
| static unsigned long printGeneration = 0; |  | ||||||
| static char *configFileName = (char *)NULL; | static char *configFileName = (char *)NULL; | ||||||
| static Bool freeDefaultFontPath = FALSE; | static Bool freeDefaultFontPath = FALSE; | ||||||
| static char *origFontPath = (char *)NULL; | static char *origFontPath = (char *)NULL; | ||||||
|  | @ -304,8 +300,6 @@ static Bool xprintInitGlobalsCalled = FALSE; | ||||||
|  */ |  */ | ||||||
| void PrinterInitGlobals(void) | void PrinterInitGlobals(void) | ||||||
| { | { | ||||||
|     extern char dispatchExceptionAtReset; /* defined in Xserver/dix/dispatch.c */ |  | ||||||
| 
 |  | ||||||
|     xprintInitGlobalsCalled = TRUE; |     xprintInitGlobalsCalled = TRUE; | ||||||
| 
 | 
 | ||||||
| #ifdef DAMAGE | #ifdef DAMAGE | ||||||
|  | @ -314,10 +308,7 @@ void PrinterInitGlobals(void) | ||||||
|      * https://bugs.freedesktop.org/show_bug.cgi?id=1660) ...
 |      * https://bugs.freedesktop.org/show_bug.cgi?id=1660) ...
 | ||||||
|      * (you can enable the DAMAGE extension explicitly via |      * (you can enable the DAMAGE extension explicitly via | ||||||
|      * % X +extension DAMAGE ... #) ;-( */ |      * % X +extension DAMAGE ... #) ;-( */ | ||||||
|     { |  | ||||||
|       extern Bool noDamageExtension; |  | ||||||
|     noDamageExtension = TRUE; |     noDamageExtension = TRUE; | ||||||
|     } |  | ||||||
| #endif /* DAMAGE */ | #endif /* DAMAGE */ | ||||||
| 
 | 
 | ||||||
| #ifdef SMART_SCHEDULE | #ifdef SMART_SCHEDULE | ||||||
|  | @ -382,7 +373,6 @@ PrinterOptions( | ||||||
|     char **argv, |     char **argv, | ||||||
|     int i) |     int i) | ||||||
| { | { | ||||||
|     extern void ddxUseMsg(); |  | ||||||
|     if(strcmp(argv[i], "-XpFile") == 0) |     if(strcmp(argv[i], "-XpFile") == 0) | ||||||
|     { |     { | ||||||
| 	if ((i + 1) >= argc) { | 	if ((i + 1) >= argc) { | ||||||
|  | @ -697,7 +687,7 @@ StoreDriverNames(void) | ||||||
|  * from the printerDb is store in the attribute store for the printer. |  * from the printerDb is store in the attribute store for the printer. | ||||||
|  */ |  */ | ||||||
| static void | static void | ||||||
| StoreDescriptors() | StoreDescriptors(void) | ||||||
| { | { | ||||||
|     PrinterDbPtr pEntry; |     PrinterDbPtr pEntry; | ||||||
| 
 | 
 | ||||||
|  | @ -806,7 +796,6 @@ GetConfigFileName(void) | ||||||
| static PrinterDbPtr | static PrinterDbPtr | ||||||
| BuildPrinterDb(void) | BuildPrinterDb(void) | ||||||
| { | { | ||||||
|     char *printerList, *augmentCmd = (char *)NULL; |  | ||||||
|     Bool defaultAugment = TRUE, freeConfigFileName; |     Bool defaultAugment = TRUE, freeConfigFileName; | ||||||
| 
 | 
 | ||||||
|     if(configFileName && access(configFileName, R_OK) != 0) |     if(configFileName && access(configFileName, R_OK) != 0) | ||||||
|  | @ -1156,8 +1145,8 @@ AddToFontPath( | ||||||
| static void | static void | ||||||
| AugmentFontPath(void) | AugmentFontPath(void) | ||||||
| { | { | ||||||
|     char *newPath, *modelID, **allIDs = (char **)NULL; |     char *modelID, **allIDs = (char **)NULL; | ||||||
|     PrinterDbPtr pDb, pDbEntry; |     PrinterDbPtr pDbEntry; | ||||||
|     int numModels, i; |     int numModels, i; | ||||||
| 
 | 
 | ||||||
|     if(!origFontPath) |     if(!origFontPath) | ||||||
|  | @ -1612,7 +1601,7 @@ InitPrintDrivers( | ||||||
| 	    } | 	    } | ||||||
| 	    if(callInit == TRUE) | 	    if(callInit == TRUE) | ||||||
| 	    { | 	    { | ||||||
| 	        Bool (*initFunc)(); | 	        Bool (*initFunc)(BFuncArgs); | ||||||
| 	        initFunc = GetInitFunc(pDb->driverName); | 	        initFunc = GetInitFunc(pDb->driverName); | ||||||
| 	        if(initFunc(index, pScreen, argc, argv) == FALSE) | 	        if(initFunc(index, pScreen, argc, argv) == FALSE) | ||||||
| 	        { | 	        { | ||||||
|  | @ -1649,10 +1638,9 @@ GenericScreenInit( | ||||||
|      int argc, |      int argc, | ||||||
|      char **argv) |      char **argv) | ||||||
| { | { | ||||||
|     int i; |  | ||||||
|     float fWidth, fHeight, maxWidth, maxHeight; |     float fWidth, fHeight, maxWidth, maxHeight; | ||||||
|     unsigned short width, height; |     unsigned short width, height; | ||||||
|     PrinterDbPtr pDb, pDb2; |     PrinterDbPtr pDb; | ||||||
|     int res, maxRes; |     int res, maxRes; | ||||||
|      |      | ||||||
|     /*
 |     /*
 | ||||||
|  | @ -1705,6 +1693,7 @@ GenericScreenInit( | ||||||
| 					   (unsigned short)(maxHeight + 0.5); | 					   (unsigned short)(maxHeight + 0.5); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | #if 0   /* No one uses this anymore... */
 | ||||||
| /*
 | /*
 | ||||||
|  * QualifyName - takes an unqualified file name such as X6printers and |  * QualifyName - takes an unqualified file name such as X6printers and | ||||||
|  * a colon-separated list of directory path names such as  |  * a colon-separated list of directory path names such as  | ||||||
|  | @ -1715,9 +1704,7 @@ GenericScreenInit( | ||||||
|  * freeing the associated memory. |  * freeing the associated memory. | ||||||
|  */ |  */ | ||||||
| static char * | static char * | ||||||
| QualifyName(fileName, searchPath) | QualifyName(char *fileName, char *searchPath) | ||||||
|     char *fileName; |  | ||||||
|     char *searchPath; |  | ||||||
| { | { | ||||||
|     char * curPath = searchPath; |     char * curPath = searchPath; | ||||||
|     char * nextPath; |     char * nextPath; | ||||||
|  | @ -1755,6 +1742,7 @@ QualifyName(fileName, searchPath) | ||||||
|     } |     } | ||||||
|     return NULL; |     return NULL; | ||||||
| } | } | ||||||
|  | #endif | ||||||
| 
 | 
 | ||||||
| /*
 | /*
 | ||||||
|  * FillPrinterListEntry fills in a single XpDiListEntry element with data |  * FillPrinterListEntry fills in a single XpDiListEntry element with data | ||||||
|  | @ -1799,7 +1787,7 @@ GetPrinterListInfo( | ||||||
|     int localeLen, |     int localeLen, | ||||||
|     char *locale) |     char *locale) | ||||||
| { | { | ||||||
|     PrinterDbPtr pDb, pDb2; |     PrinterDbPtr pDb; | ||||||
| 
 | 
 | ||||||
|     for(pDb = printerDb; pDb != (PrinterDbPtr)NULL; pDb = pDb->next) |     for(pDb = printerDb; pDb != (PrinterDbPtr)NULL; pDb = pDb->next) | ||||||
|     { |     { | ||||||
|  | @ -1848,7 +1836,7 @@ XpDiGetPrinterList( | ||||||
|     if(!nameLen || name == (char *)NULL) |     if(!nameLen || name == (char *)NULL) | ||||||
|     { |     { | ||||||
| 	int i; | 	int i; | ||||||
|         PrinterDbPtr pDb, pDb2; |         PrinterDbPtr pDb; | ||||||
| 
 | 
 | ||||||
|         for(pDb = printerDb, i = 0; pDb != (PrinterDbPtr)NULL;  |         for(pDb = printerDb, i = 0; pDb != (PrinterDbPtr)NULL;  | ||||||
| 	    pDb = pDb->next, i++) | 	    pDb = pDb->next, i++) | ||||||
|  | @ -1898,7 +1886,6 @@ WindowPtr | ||||||
| XpDiValidatePrinter(char *printerName, int printerNameLen) | XpDiValidatePrinter(char *printerName, int printerNameLen) | ||||||
| { | { | ||||||
|     PrinterDbPtr pCurEntry; |     PrinterDbPtr pCurEntry; | ||||||
|     WindowPtr pWin; |  | ||||||
| 
 | 
 | ||||||
|     for(pCurEntry = printerDb; |     for(pCurEntry = printerDb; | ||||||
| 	pCurEntry != (PrinterDbPtr)NULL; pCurEntry = pCurEntry->next) | 	pCurEntry != (PrinterDbPtr)NULL; pCurEntry = pCurEntry->next) | ||||||
|  |  | ||||||
|  | @ -1655,8 +1655,6 @@ TrayMediumListValidate(XpOidTrayMediumList* me, | ||||||
| 		       const XpOidMediumSS* msss) | 		       const XpOidMediumSS* msss) | ||||||
| { | { | ||||||
|     int i_mss, i_ds, i_itm; |     int i_mss, i_ds, i_itm; | ||||||
|     XpOidMediumDiscreteSizeList* ds_list; |  | ||||||
|     int tray_count; |  | ||||||
|     XpOid current_tray, current_medium; |     XpOid current_tray, current_medium; | ||||||
|     XpOidMediumDiscreteSizeList* unspecified_tray_ds; |     XpOidMediumDiscreteSizeList* unspecified_tray_ds; | ||||||
|     XpOidMediumDiscreteSizeList* tray_ds; |     XpOidMediumDiscreteSizeList* tray_ds; | ||||||
|  |  | ||||||
|  | @ -158,7 +158,7 @@ static char NULL_STRING[] = "\0"; | ||||||
|  * where the print server configuration directory is localed. |  * where the print server configuration directory is localed. | ||||||
|  */ |  */ | ||||||
| static | static | ||||||
| char *XpGetConfigDirBase() | char *XpGetConfigDirBase(void) | ||||||
| { | { | ||||||
|     char *configDir; |     char *configDir; | ||||||
| 
 | 
 | ||||||
|  | @ -342,7 +342,7 @@ BuildPrinterAttrs( | ||||||
| 
 | 
 | ||||||
|     if(systemAttributes.printers != (XrmDatabase)NULL) |     if(systemAttributes.printers != (XrmDatabase)NULL) | ||||||
|     { |     { | ||||||
|         char *dirName, *fileName; |         char *fileName; | ||||||
|         XrmDatabase modelDB = (XrmDatabase)NULL; |         XrmDatabase modelDB = (XrmDatabase)NULL; | ||||||
|         XrmName xrm_name[5], xrm_class[2]; |         XrmName xrm_name[5], xrm_class[2]; | ||||||
|         XrmRepresentation rep_type; |         XrmRepresentation rep_type; | ||||||
|  | @ -642,7 +642,6 @@ XpGetOneAttribute( | ||||||
| { | { | ||||||
|     ContextAttrPtr pCtxtAttrs; |     ContextAttrPtr pCtxtAttrs; | ||||||
|     XrmDatabase db = (XrmDatabase)NULL; |     XrmDatabase db = (XrmDatabase)NULL; | ||||||
|     char *retVal; |  | ||||||
|     XrmName xrm_name[3]; |     XrmName xrm_name[3]; | ||||||
|     XrmRepresentation rep_type; |     XrmRepresentation rep_type; | ||||||
|     XrmValue value; |     XrmValue value; | ||||||
|  | @ -895,7 +894,6 @@ XpGetAttributes( | ||||||
| { | { | ||||||
|     ContextAttrPtr pCtxtAttrs; |     ContextAttrPtr pCtxtAttrs; | ||||||
|     XrmDatabase db = (XrmDatabase)NULL; |     XrmDatabase db = (XrmDatabase)NULL; | ||||||
|     char *retVal; |  | ||||||
|     StringDbStruct enumStruct; |     StringDbStruct enumStruct; | ||||||
|     XrmQuark empty = NULLQUARK; |     XrmQuark empty = NULLQUARK; | ||||||
| 
 | 
 | ||||||
|  | @ -1536,8 +1534,8 @@ VectorizeCommand( | ||||||
|     char ***pVector, |     char ***pVector, | ||||||
|     XpContextPtr pContext) |     XpContextPtr pContext) | ||||||
| { | { | ||||||
|     char *cmdName, *curTok; |     char *cmdName; | ||||||
|     int i, numChars; |     int numChars; | ||||||
| 
 | 
 | ||||||
|     if(command == (char *)NULL) |     if(command == (char *)NULL) | ||||||
| 	return (char *)NULL; | 	return (char *)NULL; | ||||||
|  | @ -1563,7 +1561,7 @@ XpSubmitJob(fileName, pContext) | ||||||
|      char *fileName; |      char *fileName; | ||||||
|      XpContextPtr pContext; |      XpContextPtr pContext; | ||||||
| { | { | ||||||
|     char **vector, *cmdNam, *cmdOpt, *command, *userName; |     char **vector, *cmdNam, *command, *userName; | ||||||
|     int i; |     int i; | ||||||
| 
 | 
 | ||||||
|     command = XpGetOneAttribute(pContext, XPPrinterAttr, "xp-spooler-command"); |     command = XpGetOneAttribute(pContext, XPPrinterAttr, "xp-spooler-command"); | ||||||
|  | @ -1689,7 +1687,6 @@ XpGetTrayMediumFromContext(XpContextPtr pCon, | ||||||
| { | { | ||||||
|     char *defMedium, *defTray; |     char *defMedium, *defTray; | ||||||
|     char *t, *m; |     char *t, *m; | ||||||
|     char *pS, *pE, *pLast; |  | ||||||
|      |      | ||||||
|     defMedium = XpGetOneAttribute( pCon, XPPageAttr,  |     defMedium = XpGetOneAttribute( pCon, XPPageAttr,  | ||||||
| 				  "default-medium" ); | 				  "default-medium" ); | ||||||
|  |  | ||||||
|  | @ -76,8 +76,6 @@ InitOutput( | ||||||
|     char         **argv) |     char         **argv) | ||||||
| 
 | 
 | ||||||
| { | { | ||||||
|     int i; |  | ||||||
| 
 |  | ||||||
|     pScreenInfo->imageByteOrder = IMAGE_BYTE_ORDER; |     pScreenInfo->imageByteOrder = IMAGE_BYTE_ORDER; | ||||||
|     pScreenInfo->bitmapScanlineUnit = BITMAP_SCANLINE_UNIT; |     pScreenInfo->bitmapScanlineUnit = BITMAP_SCANLINE_UNIT; | ||||||
|     pScreenInfo->bitmapScanlinePad = BITMAP_SCANLINE_PAD; |     pScreenInfo->bitmapScanlinePad = BITMAP_SCANLINE_PAD; | ||||||
|  | @ -179,7 +177,7 @@ InitInput( | ||||||
|      int       argc, |      int       argc, | ||||||
|      char **argv) |      char **argv) | ||||||
| { | { | ||||||
|     DevicePtr ptr, kbd; |     DeviceIntPtr ptr, kbd; | ||||||
| 
 | 
 | ||||||
|     ptr = AddInputDevice((DeviceProc)PointerProc, TRUE); |     ptr = AddInputDevice((DeviceProc)PointerProc, TRUE); | ||||||
|     kbd = AddInputDevice((DeviceProc)KeyboardProc, TRUE); |     kbd = AddInputDevice((DeviceProc)KeyboardProc, TRUE); | ||||||
|  | @ -239,11 +237,13 @@ OsVendorFatalError(void) | ||||||
| } | } | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
|  | #ifdef DDXBEFORERESET | ||||||
| void | void | ||||||
| ddxBeforeReset(void) | ddxBeforeReset(void) | ||||||
| { | { | ||||||
|     return; |     return; | ||||||
| } | } | ||||||
|  | #endif | ||||||
| 
 | 
 | ||||||
| #ifdef DDXTIME | #ifdef DDXTIME | ||||||
| CARD32 | CARD32 | ||||||
|  |  | ||||||
|  | @ -374,9 +374,6 @@ void dmxUpdateScreenResources(ScreenPtr pScreen, int x, int y, int w, int h) | ||||||
| #ifdef PANORAMIX | #ifdef PANORAMIX | ||||||
| #include "panoramiXsrv.h" | #include "panoramiXsrv.h" | ||||||
| 
 | 
 | ||||||
| /* Defined in dix/events.c */ |  | ||||||
| extern void ReinitializeRootWindow(WindowPtr win, int xoff, int yoff); |  | ||||||
| 
 |  | ||||||
| /** Change the "screen" window attributes by resizing the actual window
 | /** Change the "screen" window attributes by resizing the actual window
 | ||||||
|  *  on the back-end display (if necessary). */ |  *  on the back-end display (if necessary). */ | ||||||
| static void dmxConfigureScreenWindow(int idx, | static void dmxConfigureScreenWindow(int idx, | ||||||
|  |  | ||||||
|  | @ -67,6 +67,7 @@ | ||||||
| #include "xf86_OSlib.h" | #include "xf86_OSlib.h" | ||||||
| 
 | 
 | ||||||
| #include "globals.h" | #include "globals.h" | ||||||
|  | #include "extension.h" | ||||||
| 
 | 
 | ||||||
| #ifdef XINPUT | #ifdef XINPUT | ||||||
| #include "xf86Xinput.h" | #include "xf86Xinput.h" | ||||||
|  | @ -2524,9 +2525,6 @@ configDRI(XF86ConfDRIPtr drip) | ||||||
| } | } | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
| /* Extension enable/disable in miinitext.c */ |  | ||||||
| extern Bool EnableDisableExtension(char *name, Bool enable); |  | ||||||
| 
 |  | ||||||
| static Bool | static Bool | ||||||
| configExtensions(XF86ConfExtensionsPtr conf_ext) | configExtensions(XF86ConfExtensionsPtr conf_ext) | ||||||
| { | { | ||||||
|  |  | ||||||
|  | @ -294,6 +294,7 @@ extern ClientPtr requestingClient; | ||||||
| extern ClientPtr *clients; | extern ClientPtr *clients; | ||||||
| extern ClientPtr serverClient; | extern ClientPtr serverClient; | ||||||
| extern int currentMaxClients; | extern int currentMaxClients; | ||||||
|  | extern char dispatchExceptionAtReset; | ||||||
| 
 | 
 | ||||||
| typedef int HWEventQueueType; | typedef int HWEventQueueType; | ||||||
| typedef HWEventQueueType* HWEventQueuePtr; | typedef HWEventQueueType* HWEventQueuePtr; | ||||||
|  | @ -694,6 +695,9 @@ extern int TryClientEvents( | ||||||
| 
 | 
 | ||||||
| extern void WindowsRestructured(void); | extern void WindowsRestructured(void); | ||||||
| 
 | 
 | ||||||
|  | #ifdef PANORAMIX | ||||||
|  | extern void ReinitializeRootWindow(WindowPtr win, int xoff, int yoff); | ||||||
|  | #endif | ||||||
| 
 | 
 | ||||||
| #ifdef RANDR | #ifdef RANDR | ||||||
| void | void | ||||||
|  |  | ||||||
|  | @ -56,6 +56,10 @@ extern unsigned short StandardMinorOpcode(ClientPtr /*client*/); | ||||||
| 
 | 
 | ||||||
| extern unsigned short MinorOpcodeOfRequest(ClientPtr /*client*/); | extern unsigned short MinorOpcodeOfRequest(ClientPtr /*client*/); | ||||||
| 
 | 
 | ||||||
|  | extern Bool EnableDisableExtension(char *name, Bool enable); | ||||||
|  | 
 | ||||||
|  | extern void EnableDisableExtensionError(char *name, Bool enable); | ||||||
|  | 
 | ||||||
| extern void InitExtensions(int argc, char **argv); | extern void InitExtensions(int argc, char **argv); | ||||||
| 
 | 
 | ||||||
| extern void InitVisualWrap(void); | extern void InitVisualWrap(void); | ||||||
|  |  | ||||||
|  | @ -85,6 +85,7 @@ SOFTWARE. | ||||||
| #include "misc.h" | #include "misc.h" | ||||||
| #include "extension.h" | #include "extension.h" | ||||||
| #include "micmap.h" | #include "micmap.h" | ||||||
|  | #include "globals.h" | ||||||
| 
 | 
 | ||||||
| #if defined(QNX4) /* sleaze for Watcom on QNX4 ... */ | #if defined(QNX4) /* sleaze for Watcom on QNX4 ... */ | ||||||
| #undef GLXEXT | #undef GLXEXT | ||||||
|  | @ -125,9 +126,6 @@ extern Bool noBigReqExtension; | ||||||
| #ifdef COMPOSITE | #ifdef COMPOSITE | ||||||
| extern Bool noCompositeExtension; | extern Bool noCompositeExtension; | ||||||
| #endif | #endif | ||||||
| #ifdef DAMAGE |  | ||||||
| extern Bool noDamageExtension; |  | ||||||
| #endif |  | ||||||
| #ifdef DBE | #ifdef DBE | ||||||
| extern Bool noDbeExtension; | extern Bool noDbeExtension; | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
|  | @ -72,6 +72,7 @@ OR PERFORMANCE OF THIS SOFTWARE. | ||||||
| #include "input.h" | #include "input.h" | ||||||
| #include "dixfont.h" | #include "dixfont.h" | ||||||
| #include "osdep.h" | #include "osdep.h" | ||||||
|  | #include "extension.h" | ||||||
| #ifdef X_POSIX_C_SOURCE | #ifdef X_POSIX_C_SOURCE | ||||||
| #define _POSIX_C_SOURCE X_POSIX_C_SOURCE | #define _POSIX_C_SOURCE X_POSIX_C_SOURCE | ||||||
| #include <signal.h> | #include <signal.h> | ||||||
|  | @ -287,12 +288,6 @@ int userdefinedfontpath = 0; | ||||||
| 
 | 
 | ||||||
| char *dev_tty_from_init = NULL;		/* since we need to parse it anyway */ | 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); |  | ||||||
| 
 |  | ||||||
| OsSigHandlerPtr | OsSigHandlerPtr | ||||||
| OsSignal(sig, handler) | OsSignal(sig, handler) | ||||||
|     int sig; |     int sig; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue