fix noDamageExtension warning in Xprint/Init.c

Also took out duplicate definition of this variable in mi/miinitext.c
This commit is contained in:
Greg Kroah-Hartman 2006-06-08 10:11:17 -07:00
parent 494895e0fb
commit 40fb7eecaf
2 changed files with 2 additions and 7 deletions

View File

@ -308,10 +308,7 @@ void PrinterInitGlobals(void)
* https://bugs.freedesktop.org/show_bug.cgi?id=1660) ...
* (you can enable the DAMAGE extension explicitly via
* % X +extension DAMAGE ... #) ;-( */
{
extern Bool noDamageExtension;
noDamageExtension = TRUE;
}
noDamageExtension = TRUE;
#endif /* DAMAGE */
#ifdef SMART_SCHEDULE

View File

@ -85,6 +85,7 @@ SOFTWARE.
#include "misc.h"
#include "extension.h"
#include "micmap.h"
#include "globals.h"
#if defined(QNX4) /* sleaze for Watcom on QNX4 ... */
#undef GLXEXT
@ -125,9 +126,6 @@ extern Bool noBigReqExtension;
#ifdef COMPOSITE
extern Bool noCompositeExtension;
#endif
#ifdef DAMAGE
extern Bool noDamageExtension;
#endif
#ifdef DBE
extern Bool noDbeExtension;
#endif