(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 11fe7c5654
commit 269b4d4ac5
3 changed files with 4 additions and 5 deletions

View File

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

View File

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

View File

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