aboutsummaryrefslogtreecommitdiffstats
path: root/gamma-x-vidmode.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gamma-x-vidmode.h (renamed from src/lib/gamma-x-vidmode.h)11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/lib/gamma-x-vidmode.h b/gamma-x-vidmode.h
index 618d5c4..8a95442 100644
--- a/src/lib/gamma-x-vidmode.h
+++ b/gamma-x-vidmode.h
@@ -2,13 +2,6 @@
#ifndef LIBGAMMA_GAMMA_X_VIDMODE_H
#define LIBGAMMA_GAMMA_X_VIDMODE_H
-#ifndef HAVE_LIBGAMMA_METHOD_X_VIDMODE
-# error Including gamma-x-vidmode.h without HAVE_LIBGAMMA_METHOD_X_VIDMODE
-#endif
-
-
-#include "libgamma-method.h"
-
/**
* Return the capabilities of the adjustment method
@@ -65,7 +58,7 @@ int libgamma_x_vidmode_partition_initialise(libgamma_partition_state_t *restrict
*
* @param this The partition state
*/
-void libgamma_x_vidmode_partition_destroy(libgamma_partition_state_t *restrict) __attribute__((const));
+void libgamma_x_vidmode_partition_destroy(libgamma_partition_state_t *restrict);
/**
* Restore the gamma ramps all CRTC:s with a partition to the system settings
@@ -94,7 +87,7 @@ int libgamma_x_vidmode_crtc_initialise(libgamma_crtc_state_t *restrict, libgamma
*
* @param this The CRTC state
*/
-void libgamma_x_vidmode_crtc_destroy(libgamma_crtc_state_t *restrict) __attribute__((const));
+void libgamma_x_vidmode_crtc_destroy(libgamma_crtc_state_t *restrict);
/**
* Restore the gamma ramps for a CRTC to the system settings for that CRTC