fix noDamageExtension warning in Xprint/Init.c
Also took out duplicate definition of this variable in mi/miinitext.c
This commit is contained in:
parent
494895e0fb
commit
40fb7eecaf
|
@ -308,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 ... #) ;-( */
|
||||||
{
|
noDamageExtension = TRUE;
|
||||||
extern Bool noDamageExtension;
|
|
||||||
noDamageExtension = TRUE;
|
|
||||||
}
|
|
||||||
#endif /* DAMAGE */
|
#endif /* DAMAGE */
|
||||||
|
|
||||||
#ifdef SMART_SCHEDULE
|
#ifdef SMART_SCHEDULE
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue