Remove LiveTV menu.
[vuplus_xbmc] / xbmc-xrandr.c
index 2db9f1e..3c686e2 100644 (file)
 #include <stdint.h>
 #include <math.h>
 
-
 #ifndef _X_NORETURN
+#if defined(__GNUC__) && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 205)
+#define _X_NORETURN __attribute((noreturn))
+#else
 #define _X_NORETURN
 #endif
+#endif
 
 static char    *program_name;
 static Display *dpy;
@@ -906,7 +909,6 @@ crtc_can_use_transform (crtc_t *crtc, XTransform *transform)
        return True;
     return False;
 }
-#endif
 
 /*
  * Report only rotations that are supported by all crtcs
@@ -933,6 +935,7 @@ output_rotations (output_t *output)
     }
     return rotation;
 }
+#endif
 
 static Bool
 output_can_use_rotation (output_t *output, Rotation rotation)
@@ -2996,7 +2999,7 @@ main (int argc, char **argv)
            Atom            *props;
            int             j, k, nprop;
            Bool            *mode_shown;
-           Rotation        rotations = output_rotations (output);
+//         Rotation        rotations = output_rotations (output);
 
            printf ("  <output name=\"%s\" connected=\"%s\"", output_info->name, connection[output_info->connection]);
            if (mode)