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 dac14b887e
commit 26328f81a9
2 changed files with 2 additions and 2 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

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