diff --git a/randr/randrstr.h b/randr/randrstr.h index 2686ef28b..998e33759 100644 --- a/randr/randrstr.h +++ b/randr/randrstr.h @@ -675,10 +675,6 @@ RRConfigureOutputProperty(RROutputPtr output, Atom property, /* rrprovider.c */ #define PRIME_SYNC_PROP "PRIME Synchronization" -extern _X_EXPORT RRProviderPtr -RRProviderCreate(ScreenPtr pScreen, const char *name, - int nameLength); - extern _X_EXPORT void RRProviderDestroy (RRProviderPtr provider); diff --git a/randr/randrstr_priv.h b/randr/randrstr_priv.h index 786535ad1..5389878d0 100644 --- a/randr/randrstr_priv.h +++ b/randr/randrstr_priv.h @@ -390,4 +390,15 @@ Bool RRProviderInit(void); */ void RRProviderInitErrorValue(void); +/* + * Create / allocate new provider structure + * + * @param pScreen the screen the provider belongs to + * @param name name of the provider (counted string) + * @param nameLen size of the provider name + * @return new provider structure, or NULL on failure + */ +RRProviderPtr RRProviderCreate(ScreenPtr pScreen, const char *name, + int nameLen); + #endif /* _XSERVER_RANDRSTR_PRIV_H_ */