aboutsummaryrefslogtreecommitdiffstats
path: root/gamma-x-randr.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gamma-x-randr.h (renamed from src/lib/gamma-x-randr.h)9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/lib/gamma-x-randr.h b/gamma-x-randr.h
index 59c64bc..3591192 100644
--- a/src/lib/gamma-x-randr.h
+++ b/gamma-x-randr.h
@@ -2,13 +2,6 @@
#ifndef LIBGAMMA_GAMMA_X_RANDR_H
#define LIBGAMMA_GAMMA_X_RANDR_H
-#ifndef HAVE_LIBGAMMA_METHOD_X_RANDR
-# error Including gamma-x-randr.h without HAVE_LIBGAMMA_METHOD_X_RANDR
-#endif
-
-
-#include "libgamma-method.h"
-
/**
* Return the capabilities of the adjustment method
@@ -93,7 +86,7 @@ int libgamma_x_randr_crtc_initialise(libgamma_crtc_state_t *restrict, libgamma_p
*
* @param this The CRTC state
*/
-void libgamma_x_randr_crtc_destroy(libgamma_crtc_state_t *restrict) __attribute__((const));
+void libgamma_x_randr_crtc_destroy(libgamma_crtc_state_t *restrict);
/**
* Restore the gamma ramps for a CRTC to the system settings for that CRTC