Created attachment 15107 [details] [review]
Declare _XRRHasRates in Xrandrint.h. This header is not
installed and the function is declared as _X_HIDDEN, so this
should just not cause an warning due to missing function
Also don't declare local variables that are not used.
Trivial compile warning fixes.