diff --git a/randr/randrstr.h b/randr/randrstr.h index b89fb03d2..82a7f914e 100644 --- a/randr/randrstr.h +++ b/randr/randrstr.h @@ -710,6 +710,18 @@ RRTransformPtr RRCrtcGetTransform(RRCrtcPtr crtc); _X_EXPORT /* just for Nvidia legacy */ void RRCrtcDetachScanoutPixmap(RRCrtcPtr crtc); +/* + * 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 + */ +_X_EXPORT /* just for Nvidia legacy */ +RRProviderPtr RRProviderCreate(ScreenPtr pScreen, const char *name, + int nameLen); + #endif /* _RANDRSTR_H_ */ /* diff --git a/randr/randrstr_priv.h b/randr/randrstr_priv.h index 8afbbee92..b61f94b32 100644 --- a/randr/randrstr_priv.h +++ b/randr/randrstr_priv.h @@ -381,17 +381,6 @@ 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); - /* * Set provider capabilities field *