aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-10-07 17:23:13 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-12-30 00:05:53 +0100
commite7e2f164b9bcf05d4cc1eb0e69879addec718824 (patch)
treeb82448c54e08205a0c071fa0c9250a0e3fe46ba2 /nx-X11/programs/Xserver/hw
parentf1eafeaa456b1544384bb6a68d8a56c0a216a875 (diff)
downloadnx-libs-e7e2f164b9bcf05d4cc1eb0e69879addec718824.tar.gz
nx-libs-e7e2f164b9bcf05d4cc1eb0e69879addec718824.tar.bz2
nx-libs-e7e2f164b9bcf05d4cc1eb0e69879addec718824.zip
Only declare nxagentRandRCrtcSet if RANDR_12_INTERFACE is defined.
Diffstat (limited to 'nx-X11/programs/Xserver/hw')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Extensions.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Extensions.c b/nx-X11/programs/Xserver/hw/nxagent/Extensions.c
index 103eaa92c..d77d27674 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Extensions.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Extensions.c
@@ -35,10 +35,12 @@ static int nxagentRandRScreenSetSize(ScreenPtr pScreen, CARD16 width,
static int nxagentRandRInitSizes(ScreenPtr pScreen);
+#if RANDR_12_INTERFACE
static Bool nxagentRandRCrtcSet (ScreenPtr pScreen, RRCrtcPtr crtc,
RRModePtr mode, int x, int y,
Rotation rotation, int numOutputs,
RROutputPtr *outputs);
+#endif
#ifdef __DARWIN__