(!1985) 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
							
								
									b6f71c8fef
								
							
						
					
					
						commit
						2eafa1aafd
					
				| 
						 | 
					@ -515,8 +515,6 @@ extern _X_EXPORT void
 | 
				
			||||||
extern _X_EXPORT Bool
 | 
					extern _X_EXPORT Bool
 | 
				
			||||||
 RRGetInfo(ScreenPtr pScreen, Bool force_query);
 | 
					 RRGetInfo(ScreenPtr pScreen, Bool force_query);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
extern _X_EXPORT Bool RRInit(void);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
extern _X_EXPORT Bool RRScreenInit(ScreenPtr pScreen);
 | 
					extern _X_EXPORT Bool RRScreenInit(ScreenPtr pScreen);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
extern _X_EXPORT RROutputPtr RRFirstOutput(ScreenPtr pScreen);
 | 
					extern _X_EXPORT RROutputPtr RRFirstOutput(ScreenPtr pScreen);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -29,6 +29,8 @@
 | 
				
			||||||
#ifndef _XSERVER_RANDRSTR_PRIV_H_
 | 
					#ifndef _XSERVER_RANDRSTR_PRIV_H_
 | 
				
			||||||
#define _XSERVER_RANDRSTR_PRIV_H_
 | 
					#define _XSERVER_RANDRSTR_PRIV_H_
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include <X11/Xdefs.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "randrstr.h"
 | 
					#include "randrstr.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
extern int RREventBase, RRErrorBase;
 | 
					extern int RREventBase, RRErrorBase;
 | 
				
			||||||
| 
						 | 
					@ -135,4 +137,11 @@ void RRDeliverScreenEvent(ClientPtr pClient, WindowPtr pWin, ScreenPtr pScreen);
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
void RRResourcesChanged(ScreenPtr pScreen);
 | 
					void RRResourcesChanged(ScreenPtr pScreen);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/*
 | 
				
			||||||
 | 
					 * Initialize randr subsystem
 | 
				
			||||||
 | 
					 *
 | 
				
			||||||
 | 
					 * @return TRUE on success
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
 | 
					Bool RRInit(void);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#endif /* _XSERVER_RANDRSTR_PRIV_H_ */
 | 
					#endif /* _XSERVER_RANDRSTR_PRIV_H_ */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -20,6 +20,7 @@
 | 
				
			||||||
 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
 | 
					 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
 | 
				
			||||||
 * OF THIS SOFTWARE.
 | 
					 * OF THIS SOFTWARE.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					#include <dix-config.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "randr/randrstr_priv.h"
 | 
					#include "randr/randrstr_priv.h"
 | 
				
			||||||
#include "randr/rrdispatch_priv.h"
 | 
					#include "randr/rrdispatch_priv.h"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue