include: unexport no*Extension flags
Most of these flags aren't used by any drivers, so no need to keep them exported. Only three exceptions: composite, Panoramix/Xinerama and Xv. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1519>
This commit is contained in:
parent
356e18dcc6
commit
e3cbde9914
|
@ -17,6 +17,7 @@ is" without express or implied warranty.
|
|||
#include <X11/Xdefs.h>
|
||||
#include <X11/Xproto.h>
|
||||
|
||||
#include "include/extinit_priv.h"
|
||||
#include "os/ddx_priv.h"
|
||||
|
||||
#include "screenint.h"
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
#include "os/osdep.h"
|
||||
#include "os/xserver_poll.h"
|
||||
|
||||
#include "extinit_priv.h"
|
||||
#include <micmap.h>
|
||||
#include <misyncshm.h>
|
||||
#include <os.h>
|
||||
|
|
|
@ -57,60 +57,10 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
extern _X_EXPORT Bool noCompositeExtension;
|
||||
#endif
|
||||
|
||||
#ifdef DAMAGE
|
||||
extern _X_EXPORT Bool noDamageExtension;
|
||||
#endif
|
||||
|
||||
#if defined(DBE)
|
||||
extern _X_EXPORT Bool noDbeExtension;
|
||||
#endif
|
||||
|
||||
#if defined(DPMSExtension)
|
||||
extern _X_EXPORT Bool noDPMSExtension;
|
||||
#endif
|
||||
|
||||
#ifdef GLXEXT
|
||||
extern _X_EXPORT Bool noGlxExtension;
|
||||
#endif
|
||||
|
||||
#ifdef XINERAMA
|
||||
extern _X_EXPORT Bool noPanoramiXExtension;
|
||||
#endif /* XINERAMA */
|
||||
|
||||
#ifdef RANDR
|
||||
extern _X_EXPORT Bool noRRExtension;
|
||||
#endif
|
||||
|
||||
extern _X_EXPORT Bool noRenderExtension;
|
||||
|
||||
#if defined(RES)
|
||||
extern _X_EXPORT Bool noResExtension;
|
||||
#endif
|
||||
|
||||
#if defined(SCREENSAVER)
|
||||
extern _X_EXPORT Bool noScreenSaverExtension;
|
||||
#endif
|
||||
|
||||
extern _X_EXPORT Bool noShapeExtension;
|
||||
|
||||
#ifdef MITSHM
|
||||
extern _X_EXPORT Bool noMITShmExtension;
|
||||
#endif
|
||||
|
||||
#ifdef XCSECURITY
|
||||
extern _X_EXPORT Bool noSecurityExtension;
|
||||
#endif
|
||||
|
||||
#ifdef XF86BIGFONT
|
||||
extern _X_EXPORT Bool noXFree86BigfontExtension;
|
||||
#endif
|
||||
|
||||
extern _X_EXPORT Bool noXFixesExtension;
|
||||
|
||||
#if defined(XSELINUX)
|
||||
extern _X_EXPORT Bool noSELinuxExtension;
|
||||
#endif
|
||||
|
||||
#if defined(XV)
|
||||
extern _X_EXPORT Bool noXvExtension;
|
||||
#endif
|
||||
|
|
|
@ -8,7 +8,22 @@
|
|||
|
||||
#include "extinit.h"
|
||||
|
||||
extern Bool noDamageExtension;
|
||||
extern Bool noDbeExtension;
|
||||
extern Bool noDPMSExtension;
|
||||
extern Bool noGEExtension;
|
||||
extern Bool noGlxExtension;
|
||||
extern Bool noMITShmExtension;
|
||||
extern Bool noRenderExtension;
|
||||
extern Bool noResExtension;
|
||||
extern Bool noRRExtension;
|
||||
extern Bool noScreenSaverExtension;
|
||||
extern Bool noSecurityExtension;
|
||||
extern Bool noSELinuxExtension;
|
||||
extern Bool noShapeExtension;
|
||||
extern Bool noTestExtensions;
|
||||
extern Bool noXFixesExtension;
|
||||
extern Bool noXFree86BigfontExtension;
|
||||
|
||||
void CompositeExtensionInit(void);
|
||||
void DamageExtensionInit(void);
|
||||
|
|
|
@ -25,7 +25,6 @@ extern _X_EXPORT int monitorResolution;
|
|||
extern _X_EXPORT int defaultColorVisualClass;
|
||||
|
||||
extern _X_EXPORT int GrabInProgress;
|
||||
extern _X_EXPORT Bool noTestExtensions;
|
||||
extern _X_EXPORT char *SeatId;
|
||||
extern _X_EXPORT char *ConnectionInfo;
|
||||
extern _X_EXPORT sig_atomic_t inSignalContext;
|
||||
|
|
|
@ -118,6 +118,7 @@ __stdcall unsigned long GetTickCount(void);
|
|||
#include "present.h"
|
||||
#include "dixstruct_priv.h"
|
||||
#include "dpmsproc.h"
|
||||
#include "extinit_priv.h"
|
||||
|
||||
#define X_INCLUDE_NETDB_H
|
||||
#include <X11/Xos_r.h>
|
||||
|
|
Loading…
Reference in New Issue