randr: unexport provider related request handlers

Those aren't used by any drivers and never should so, thus no need to
keep them exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-05-16 12:25:04 +02:00
parent 5eae9431a9
commit 7c9ad18930
4 changed files with 15 additions and 31 deletions

View File

@ -820,18 +820,6 @@ RRConfigureOutputProperty(RROutputPtr output, Atom property,
extern _X_EXPORT void extern _X_EXPORT void
RRProviderInitErrorValue(void); RRProviderInitErrorValue(void);
extern _X_EXPORT int
ProcRRGetProviders(ClientPtr client);
extern _X_EXPORT int
ProcRRGetProviderInfo(ClientPtr client);
extern _X_EXPORT int
ProcRRSetProviderOutputSource(ClientPtr client);
extern _X_EXPORT int
ProcRRSetProviderOffloadSink(ClientPtr client);
extern _X_EXPORT Bool extern _X_EXPORT Bool
RRProviderInit(void); RRProviderInit(void);
@ -870,24 +858,6 @@ extern _X_EXPORT int
Bool pending, Bool range, Bool immutable, Bool pending, Bool range, Bool immutable,
int num_values, INT32 *values); int num_values, INT32 *values);
extern _X_EXPORT int
ProcRRGetProviderProperty(ClientPtr client);
extern _X_EXPORT int
ProcRRListProviderProperties(ClientPtr client);
extern _X_EXPORT int
ProcRRQueryProviderProperty(ClientPtr client);
extern _X_EXPORT int
ProcRRConfigureProviderProperty(ClientPtr client);
extern _X_EXPORT int
ProcRRChangeProviderProperty(ClientPtr client);
extern _X_EXPORT int
ProcRRDeleteProviderProperty(ClientPtr client);
/* rrxinerama.c */ /* rrxinerama.c */
#ifdef XINERAMA #ifdef XINERAMA
extern _X_EXPORT void extern _X_EXPORT void

View File

@ -43,4 +43,16 @@ int ProcRRQueryOutputProperty(ClientPtr client);
int ProcRRConfigureOutputProperty(ClientPtr client); int ProcRRConfigureOutputProperty(ClientPtr client);
int ProcRRDeleteOutputProperty(ClientPtr client); int ProcRRDeleteOutputProperty(ClientPtr client);
/* provider related dispatch */
int ProcRRGetProviders(ClientPtr client);
int ProcRRGetProviderInfo(ClientPtr client);
int ProcRRSetProviderOutputSource(ClientPtr client);
int ProcRRSetProviderOffloadSink(ClientPtr client);
int ProcRRGetProviderProperty(ClientPtr client);
int ProcRRListProviderProperties(ClientPtr client);
int ProcRRQueryProviderProperty(ClientPtr client);
int ProcRRConfigureProviderProperty(ClientPtr client);
int ProcRRChangeProviderProperty(ClientPtr client);
int ProcRRDeleteProviderProperty(ClientPtr client);
#endif /* _XSERVER_RANDR_RRDISPATCH_H */ #endif /* _XSERVER_RANDR_RRDISPATCH_H */

View File

@ -28,6 +28,7 @@
#include "dix/dix_priv.h" #include "dix/dix_priv.h"
#include "randr/randrstr_priv.h" #include "randr/randrstr_priv.h"
#include "randr/rrdispatch_priv.h"
#include "swaprep.h" #include "swaprep.h"

View File

@ -22,8 +22,9 @@
#include <dix-config.h> #include <dix-config.h>
#include "dix/dix_priv.h" #include "dix/dix_priv.h"
#include "randr/randrstr_priv.h"
#include "randr/rrdispatch_priv.h"
#include "randrstr_priv.h"
#include "propertyst.h" #include "propertyst.h"
#include "swaprep.h" #include "swaprep.h"