xv: unexport XvFreeAdaptor()

Not used by any drivers, so no need to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1512>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-04-30 16:58:13 +02:00 committed by Marge Bot
parent f3c3b78907
commit 01de53c815
5 changed files with 18 additions and 15 deletions

View File

@ -185,7 +185,6 @@ typedef struct {
extern _X_EXPORT int XvScreenInit(ScreenPtr);
extern _X_EXPORT DevPrivateKey XvGetScreenKey(void);
extern _X_EXPORT unsigned long XvGetRTPort(void);
extern _X_EXPORT void XvFreeAdaptor(XvAdaptorPtr pAdaptor);
extern void _X_EXPORT XvFillColorKey(DrawablePtr pDraw, CARD32 key,
RegionPtr region);
extern _X_EXPORT int XvdiSendPortNotify(XvPortPtr, Atom, INT32);

View File

@ -29,4 +29,6 @@ extern RESTYPE XvRTPort;
int ProcXvDispatch(ClientPtr);
int SProcXvDispatch(ClientPtr);
void XvFreeAdaptor(XvAdaptorPtr pAdaptor);
#endif /* _XORG_XVDIX_PRIV_H */

View File

@ -38,8 +38,13 @@ of the copyright holder.
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#include "kdrive.h"
#include <X11/extensions/Xv.h>
#include <X11/extensions/Xvproto.h>
#include "Xext/xvdix_priv.h"
#include "kdrive.h"
#include "scrnintstr.h"
#include "regionstr.h"
#include "windowstr.h"
@ -49,10 +54,6 @@ of the copyright holder.
#include "resource.h"
#include "gcstruct.h"
#include "dixstruct.h"
#include <X11/extensions/Xv.h>
#include <X11/extensions/Xvproto.h>
#include "kxv.h"
#include "fourcc.h"

View File

@ -32,12 +32,16 @@
#include <xorg-config.h>
#endif
#include <X11/X.h>
#include <X11/Xproto.h>
#include <X11/extensions/Xv.h>
#include <X11/extensions/Xvproto.h>
#include "Xext/xvdix_priv.h"
#include "misc.h"
#include "xf86.h"
#include "xf86_OSproc.h"
#include <X11/X.h>
#include <X11/Xproto.h>
#include "scrnintstr.h"
#include "regionstr.h"
#include "windowstr.h"
@ -47,11 +51,7 @@
#include "resource.h"
#include "gcstruct.h"
#include "dixstruct.h"
#include <X11/extensions/Xv.h>
#include <X11/extensions/Xvproto.h>
#include "xvdix.h"
#include "xf86xvpriv.h"
/* XvAdaptorRec fields */

View File

@ -32,10 +32,11 @@
#include <xwayland-config.h>
#include "glamor_priv.h"
#include <X11/extensions/Xv.h>
#include "Xext/xvdix_priv.h"
#include "glamor_priv.h"
#include "xwayland-glamor.h"
#define NUM_FORMATS 3