The xrandr_rotation_string function is used only if DEBUG is enabled.
---
Hi Jeremie,

Here's a small patch to be applied on xrandr branch.

Thanks,

Mathieu

 src/xrandr.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/xrandr.c b/src/xrandr.c
index 2534099..f1f3ef5 100644
--- a/src/xrandr.c
+++ b/src/xrandr.c
@@ -172,6 +172,7 @@ xrandr_output_change (XRROutputChangeNotifyEvent *ev)
   XRRFreeScreenResources (res);
 }
 
+#ifdef DEBUG
 static const char *
 xrandr_rotation_string (Rotation r)
 {
@@ -190,6 +191,7 @@ xrandr_rotation_string (Rotation r)
       return buf;
   }
 }
+#endif
 
 static void
 xrandr_crtc_change (XRRCrtcChangeNotifyEvent *ev)
-- 
2.10.0


_______________________________________________
Ratpoison-devel mailing list
Ratpoison-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/ratpoison-devel

Reply via email to