(submit/miext-extinit) xfree86: dri: unexport noXFree86DRIExtension and move into extension

This isn't needed by any external module, so no need to export it.
And those flags are better off in the corresponding extension,
instead of the OS layer.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-06-28 22:52:57 +02:00
parent 66f6f49263
commit f12740ee41
3 changed files with 4 additions and 5 deletions

View File

@ -29,8 +29,8 @@
#include "extnsionst.h" #include "extnsionst.h"
#ifdef XF86DRI #ifdef XF86DRI
extern _X_EXPORT Bool noXFree86DRIExtension; extern Bool noXFree86DRIExtension;
extern void XFree86DRIExtensionInit(void); void XFree86DRIExtensionInit(void);
#endif #endif
#ifdef DRI2 #ifdef DRI2

View File

@ -74,6 +74,8 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "xf86VGAarbiter.h" #include "xf86VGAarbiter.h"
#include "xf86Extensions.h" #include "xf86Extensions.h"
Bool noXFree86DRIExtension = FALSE;
static int DRIEntPrivIndex = -1; static int DRIEntPrivIndex = -1;
static DevPrivateKeyRec DRIScreenPrivKeyRec; static DevPrivateKeyRec DRIScreenPrivKeyRec;

View File

@ -125,9 +125,6 @@ __stdcall unsigned long GetTickCount(void);
#ifdef XFreeXDGA #ifdef XFreeXDGA
Bool noXFree86DGAExtension = FALSE; Bool noXFree86DGAExtension = FALSE;
#endif #endif
#ifdef XF86DRI
Bool noXFree86DRIExtension = FALSE;
#endif
#ifdef XF86VIDMODE #ifdef XF86VIDMODE
Bool noXFree86VidModeExtension = FALSE; Bool noXFree86VidModeExtension = FALSE;
#endif #endif