mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-25 23:39:26 +00:00
include: move private definitions out of extinit.h
Public server module API shouldn't be clobbered with private definitions, thus move them out to extinit_priv.h. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1289>
This commit is contained in:
committed by
Marge Bot
parent
bae6cbc8ca
commit
33350ef8ff
@@ -55,107 +55,64 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
#ifdef COMPOSITE
|
||||
extern _X_EXPORT Bool noCompositeExtension;
|
||||
extern void CompositeExtensionInit(void);
|
||||
#endif
|
||||
|
||||
#ifdef DAMAGE
|
||||
extern _X_EXPORT Bool noDamageExtension;
|
||||
extern void DamageExtensionInit(void);
|
||||
#endif
|
||||
|
||||
#if defined(DBE)
|
||||
extern _X_EXPORT Bool noDbeExtension;
|
||||
extern void DbeExtensionInit(void);
|
||||
#endif
|
||||
|
||||
#if defined(DPMSExtension)
|
||||
extern _X_EXPORT Bool noDPMSExtension;
|
||||
extern void DPMSExtensionInit(void);
|
||||
#endif
|
||||
|
||||
extern Bool noGEExtension;
|
||||
extern void GEExtensionInit(void);
|
||||
|
||||
#ifdef GLXEXT
|
||||
extern _X_EXPORT Bool noGlxExtension;
|
||||
extern void GlxExtensionInit(void);
|
||||
#endif
|
||||
|
||||
#ifdef PANORAMIX
|
||||
extern _X_EXPORT Bool noPanoramiXExtension;
|
||||
extern void PanoramiXExtensionInit(void);
|
||||
#endif
|
||||
|
||||
#ifdef RANDR
|
||||
extern _X_EXPORT Bool noRRExtension;
|
||||
extern void RRExtensionInit(void);
|
||||
#endif
|
||||
|
||||
#if defined(XRECORD)
|
||||
extern void RecordExtensionInit(void);
|
||||
#endif
|
||||
|
||||
extern _X_EXPORT Bool noRenderExtension;
|
||||
extern void RenderExtensionInit(void);
|
||||
|
||||
#if defined(RES)
|
||||
extern _X_EXPORT Bool noResExtension;
|
||||
extern void ResExtensionInit(void);
|
||||
#endif
|
||||
|
||||
#if defined(SCREENSAVER)
|
||||
extern _X_EXPORT Bool noScreenSaverExtension;
|
||||
extern void ScreenSaverExtensionInit(void);
|
||||
#endif
|
||||
|
||||
extern _X_EXPORT Bool noShapeExtension;
|
||||
extern void ShapeExtensionInit(void);
|
||||
|
||||
#ifdef MITSHM
|
||||
extern _X_EXPORT Bool noMITShmExtension;
|
||||
extern void ShmExtensionInit(void);
|
||||
#endif
|
||||
|
||||
extern void SyncExtensionInit(void);
|
||||
|
||||
extern void XCMiscExtensionInit(void);
|
||||
|
||||
#ifdef XCSECURITY
|
||||
extern _X_EXPORT Bool noSecurityExtension;
|
||||
extern void SecurityExtensionInit(void);
|
||||
#endif
|
||||
|
||||
#ifdef XF86BIGFONT
|
||||
extern _X_EXPORT Bool noXFree86BigfontExtension;
|
||||
extern void XFree86BigfontExtensionInit(void);
|
||||
#endif
|
||||
|
||||
extern void BigReqExtensionInit(void);
|
||||
|
||||
extern _X_EXPORT Bool noXFixesExtension;
|
||||
extern void XFixesExtensionInit(void);
|
||||
|
||||
extern void XInputExtensionInit(void);
|
||||
|
||||
extern void XkbExtensionInit(void);
|
||||
|
||||
#if defined(XSELINUX)
|
||||
extern _X_EXPORT Bool noSELinuxExtension;
|
||||
extern void SELinuxExtensionInit(void);
|
||||
#endif
|
||||
|
||||
#ifdef XTEST
|
||||
extern void XTestExtensionInit(void);
|
||||
#endif
|
||||
|
||||
#if defined(XV)
|
||||
extern _X_EXPORT Bool noXvExtension;
|
||||
extern void XvExtensionInit(void);
|
||||
extern void XvMCExtensionInit(void);
|
||||
#endif
|
||||
|
||||
#if defined(DRI3)
|
||||
extern void dri3_extension_init(void);
|
||||
#endif
|
||||
|
||||
#if defined(PRESENT)
|
||||
|
||||
42
include/extinit_priv.h
Normal file
42
include/extinit_priv.h
Normal file
@@ -0,0 +1,42 @@
|
||||
/* SPDX-License-Identifier: MIT OR X11
|
||||
*
|
||||
* Copyright © 1996 Thomas E. Dickey <dickey@clark.net>
|
||||
* Copyright © 2024 Enrico Weigelt, metux IT consult <info@metux.net>
|
||||
*/
|
||||
#ifndef _XSERVER_EXTINIT_PRIV_H
|
||||
#define _XSERVER_EXTINIT_PRIV_H
|
||||
|
||||
#include "extinit.h"
|
||||
|
||||
extern Bool noGEExtension;
|
||||
|
||||
void CompositeExtensionInit(void);
|
||||
void DamageExtensionInit(void);
|
||||
void DbeExtensionInit(void);
|
||||
void DPMSExtensionInit(void);
|
||||
void GEExtensionInit(void);
|
||||
void GlxExtensionInit(void);
|
||||
void PanoramiXExtensionInit(void);
|
||||
void RRExtensionInit(void);
|
||||
void RecordExtensionInit(void);
|
||||
void RenderExtensionInit(void);
|
||||
void ResExtensionInit(void);
|
||||
void ScreenSaverExtensionInit(void);
|
||||
void ShapeExtensionInit(void);
|
||||
void ShmExtensionInit(void);
|
||||
void SyncExtensionInit(void);
|
||||
void XCMiscExtensionInit(void);
|
||||
void SecurityExtensionInit(void);
|
||||
void XFree86BigfontExtensionInit(void);
|
||||
void BigReqExtensionInit(void);
|
||||
void XFixesExtensionInit(void);
|
||||
void XInputExtensionInit(void);
|
||||
void XkbExtensionInit(void);
|
||||
void SELinuxExtensionInit(void);
|
||||
void XTestExtensionInit(void);
|
||||
void XvExtensionInit(void);
|
||||
void XvMCExtensionInit(void);
|
||||
void dri3_extension_init(void);
|
||||
void PseudoramiXExtensionInit(void);
|
||||
|
||||
#endif /* _XSERVER_EXTINIT_PRIV_H */
|
||||
@@ -30,6 +30,5 @@ DEALINGS IN THE SOFTWARE.
|
||||
pulled in by sdksyms */
|
||||
|
||||
extern _X_EXPORT Bool noPseudoramiXExtension;
|
||||
extern void PseudoramiXExtensionInit(void);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user