dix: unexport AddScreen() and AddGPUScreen()
These aren't used by any drivers/modules, just DDX'es, so no need to export. Note: tigervnc does use it, but it has it's own DDX, therefore directly linked in, just like the in-tree DDX'es which doesn't need exporting. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1349>
This commit is contained in:
parent
dc84331f5d
commit
27b83c4cd0
|
@ -106,6 +106,9 @@ Equipment Corporation.
|
|||
#include "windowstr.h"
|
||||
#include <X11/fonts/fontstruct.h>
|
||||
#include <X11/fonts/libxfont2.h>
|
||||
|
||||
#include "dix/screenint_priv.h"
|
||||
|
||||
#include "dixfontstr.h"
|
||||
#include "dix_priv.h"
|
||||
#include "gcstruct.h"
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
/* SPDX-License-Identifier: MIT OR X11
|
||||
*
|
||||
* Copyright © 2024 Enrico Weigelt, metux IT consult <info@metux.net>
|
||||
* Copyright © 1987, 1998 The Open Group
|
||||
*/
|
||||
#ifndef _XSERVER_DIX_SCREENINT_PRIV_H
|
||||
#define _XSERVER_DIX_SCREENINT_PRIV_H
|
||||
|
||||
#include <X11/Xdefs.h>
|
||||
|
||||
typedef struct _Screen *ScreenPtr;
|
||||
|
||||
typedef Bool (*ScreenInitProcPtr)(ScreenPtr pScreen, int argc, char **argv);
|
||||
|
||||
int AddScreen(ScreenInitProcPtr pfnInit, int argc, char **argv);
|
||||
int AddGPUScreen(ScreenInitProcPtr pfnInit, int argc, char **argv);
|
||||
|
||||
#endif /* _XSERVER_DIX_SCREENINT_PRIV_H */
|
|
@ -23,6 +23,9 @@
|
|||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#include "dix/screenint_priv.h"
|
||||
|
||||
#include "kdrive.h"
|
||||
#include <mivalidate.h>
|
||||
#include <dixstruct.h>
|
||||
|
|
|
@ -37,6 +37,9 @@ from The Open Group.
|
|||
#include <X11/X.h>
|
||||
#include <X11/Xproto.h>
|
||||
#include <X11/Xos.h>
|
||||
|
||||
#include "dix/screenint_priv.h"
|
||||
|
||||
#include "scrnintstr.h"
|
||||
#include "servermd.h"
|
||||
#define PSZ 8
|
||||
|
|
|
@ -47,6 +47,9 @@
|
|||
#include <X11/Xmd.h>
|
||||
#include <X11/Xproto.h>
|
||||
#include <X11/Xatom.h>
|
||||
|
||||
#include "dix/screenint_priv.h"
|
||||
|
||||
#include "input.h"
|
||||
#include "servermd.h"
|
||||
#include "windowstr.h"
|
||||
|
|
|
@ -36,6 +36,9 @@
|
|||
#include <pciaccess.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "dix/screenint_priv.h"
|
||||
|
||||
#include "os.h"
|
||||
#include "hotplug.h"
|
||||
#include "systemd-logind.h"
|
||||
|
|
|
@ -18,6 +18,9 @@ is" without express or implied warranty.
|
|||
|
||||
#include <X11/X.h>
|
||||
#include <X11/Xproto.h>
|
||||
|
||||
#include "dix/screenint_priv.h"
|
||||
|
||||
#include "screenint.h"
|
||||
#include "input.h"
|
||||
#include "misc.h"
|
||||
|
|
|
@ -33,6 +33,9 @@
|
|||
#include <errno.h>
|
||||
|
||||
#include <X11/Xatom.h>
|
||||
|
||||
#include "dix/screenint_priv.h"
|
||||
|
||||
#include <selection.h>
|
||||
#include <micmap.h>
|
||||
#include <misyncshm.h>
|
||||
|
|
|
@ -56,6 +56,8 @@ typedef WINAPI HRESULT(*SHGETFOLDERPATHPROC) (HWND hwndOwner,
|
|||
DWORD dwFlags, LPTSTR pszPath);
|
||||
#endif
|
||||
|
||||
#include "dix/screenint_priv.h"
|
||||
|
||||
#include "winmonitors.h"
|
||||
#include "nonsdk_extinit.h"
|
||||
#include "pseudoramiX/pseudoramiX.h"
|
||||
|
|
|
@ -54,10 +54,6 @@ typedef struct _Visual *VisualPtr;
|
|||
typedef struct _Depth *DepthPtr;
|
||||
typedef struct _Screen *ScreenPtr;
|
||||
|
||||
typedef Bool (*ScreenInitProcPtr)(ScreenPtr pScreen, int argc, char **argv);
|
||||
extern _X_EXPORT int AddScreen(ScreenInitProcPtr pfnInit, int argc, char **argv);
|
||||
extern _X_EXPORT int AddGPUScreen(ScreenInitProcPtr pfnInit, int argc, char **argv);
|
||||
|
||||
extern _X_EXPORT void RemoveGPUScreen(ScreenPtr pScreen);
|
||||
|
||||
extern _X_EXPORT void
|
||||
|
|
Loading…
Reference in New Issue