randr: unexport and document RRInit()
Not called, and should not be called, by drivers, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
4a5fa21098
commit
cff509582c
|
@ -515,8 +515,6 @@ extern _X_EXPORT void
|
|||
extern _X_EXPORT Bool
|
||||
RRGetInfo(ScreenPtr pScreen, Bool force_query);
|
||||
|
||||
extern _X_EXPORT Bool RRInit(void);
|
||||
|
||||
extern _X_EXPORT Bool RRScreenInit(ScreenPtr pScreen);
|
||||
|
||||
extern _X_EXPORT RROutputPtr RRFirstOutput(ScreenPtr pScreen);
|
||||
|
|
|
@ -29,6 +29,8 @@
|
|||
#ifndef _XSERVER_RANDRSTR_PRIV_H_
|
||||
#define _XSERVER_RANDRSTR_PRIV_H_
|
||||
|
||||
#include <X11/Xdefs.h>
|
||||
|
||||
#include "randrstr.h"
|
||||
|
||||
extern int RREventBase, RRErrorBase;
|
||||
|
@ -135,4 +137,11 @@ void RRDeliverScreenEvent(ClientPtr pClient, WindowPtr pWin, ScreenPtr pScreen);
|
|||
*/
|
||||
void RRResourcesChanged(ScreenPtr pScreen);
|
||||
|
||||
/*
|
||||
* Initialize randr subsystem
|
||||
*
|
||||
* @return TRUE on success
|
||||
*/
|
||||
Bool RRInit(void);
|
||||
|
||||
#endif /* _XSERVER_RANDRSTR_PRIV_H_ */
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
|
||||
* OF THIS SOFTWARE.
|
||||
*/
|
||||
#include <dix-config.h>
|
||||
|
||||
#include "randr/randrstr_priv.h"
|
||||
#include "randr/rrdispatch_priv.h"
|
||||
|
|
Loading…
Reference in New Issue