From 7b303bd8d0dd69501f983ac70bdb58865c1e40d3 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 16 May 2025 16:47:01 +0200 Subject: [PATCH] randr: unexport and document RRDeleteProviderProperty() Not used by any external drivers, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult --- randr/randrstr.h | 3 --- randr/randrstr_priv.h | 8 ++++++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/randr/randrstr.h b/randr/randrstr.h index d0e66b040..08c65fb09 100644 --- a/randr/randrstr.h +++ b/randr/randrstr.h @@ -675,9 +675,6 @@ RRConfigureOutputProperty(RROutputPtr output, Atom property, /* rrprovider.c */ #define PRIME_SYNC_PROP "PRIME Synchronization" -extern _X_EXPORT void - RRDeleteProviderProperty(RRProviderPtr provider, Atom property); - extern _X_EXPORT int RRChangeProviderProperty(RRProviderPtr provider, Atom property, Atom type, int format, int mode, unsigned long len, diff --git a/randr/randrstr_priv.h b/randr/randrstr_priv.h index aeb44f7d7..01f1da52c 100644 --- a/randr/randrstr_priv.h +++ b/randr/randrstr_priv.h @@ -453,4 +453,12 @@ RRPropertyValuePtr RRGetProviderProperty(RRProviderPtr provider, Atom property, */ RRPropertyPtr RRQueryProviderProperty(RRProviderPtr provider, Atom property); +/* + * Delete property from provider + * + * @param provider the provider to remove property from + * @param property Atom ID of the property to remove + */ +void RRDeleteProviderProperty(RRProviderPtr provider, Atom property); + #endif /* _XSERVER_RANDRSTR_PRIV_H_ */