(submit/miext-extinit) xfree86: vidmode: unexport noXFree86VidModeExtension 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:35:47 +02:00
parent a13d6c36bf
commit b34802c7a2
4 changed files with 4 additions and 6 deletions

View File

@ -41,7 +41,7 @@ void DRI2ExtensionInit(void);
#ifdef XF86VIDMODE
#include <X11/extensions/xf86vmproto.h>
extern _X_EXPORT Bool noXFree86VidModeExtension;
extern Bool noXFree86VidModeExtension;
extern void XFree86VidModeExtensionInit(void);
#endif

View File

@ -49,6 +49,8 @@
#include "xf86Extensions.h"
#include "xf86cmap.h"
Bool noXFree86VidModeExtension = FALSE;
static vidMonitorValue
xf86VidModeGetMonitorValue(ScreenPtr pScreen, int valtyp, int indx)
{

View File

@ -60,7 +60,7 @@
#ifdef XF86VIDMODE
#include <X11/extensions/xf86vmproto.h>
extern _X_EXPORT Bool noXFree86VidModeExtension;
Bool noXFree86VidModeExtension = FALSE;
#endif
void

View File

@ -122,10 +122,6 @@ __stdcall unsigned long GetTickCount(void);
#include "dixstruct_priv.h"
#include "dpmsproc.h"
#ifdef XF86VIDMODE
Bool noXFree86VidModeExtension = FALSE;
#endif
Bool noGEExtension = FALSE;
#define X_INCLUDE_NETDB_H