diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-10-07 17:23:13 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-12-30 00:05:53 +0100 |
commit | e7e2f164b9bcf05d4cc1eb0e69879addec718824 (patch) | |
tree | b82448c54e08205a0c071fa0c9250a0e3fe46ba2 /nx-X11/programs/Xserver/hw | |
parent | f1eafeaa456b1544384bb6a68d8a56c0a216a875 (diff) | |
download | nx-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.c | 2 |
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__ |