summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-10-28 18:22:11 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-10-28 18:32:31 -0700
commite8c4a2727196c8f9bf76df30c5c0a8671e0e5dfe (patch)
treec13ce7182fa2dbabc562551a3a164ff7db0ba019
parent3613fea4472741d8423c38a82e5569739d53bbb7 (diff)
Remove unused macros left over from original RandR 1.2 code
Use of these was removed in commit cb017692883daf64 in 2006. Reported by clang -Wunused-macros Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--xrandr.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/xrandr.c b/xrandr.c
index 2c93fb7..d509ead 100644
--- a/xrandr.c
+++ b/xrandr.c
@@ -429,19 +429,6 @@ static const char *connection[3] = {
"disconnected",
"unknown connection"};
-#define OUTPUT_NAME 1
-
-#define CRTC_OFF 2
-#define CRTC_UNSET 3
-#define CRTC_INDEX 0x40000000
-
-#define MODE_NAME 1
-#define MODE_OFF 2
-#define MODE_UNSET 3
-#define MODE_PREF 4
-
-#define POS_UNSET -1
-
static output_t *all_outputs = NULL;
static output_t **all_outputs_tail = &all_outputs;
static crtc_t *crtcs;