aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-x-randr.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/gamma-x-randr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gamma-x-randr.h b/src/gamma-x-randr.h
index 0ec432d..4a49dc2 100644
--- a/src/gamma-x-randr.h
+++ b/src/gamma-x-randr.h
@@ -112,7 +112,7 @@ int libgamma_x_randr_crtc_initialise(libgamma_crtc_state_t* restrict this,
*
* @param this The CRTC state
*/
-void libgamma_x_randr_crtc_destroy(libgamma_crtc_state_t* restrict this);
+void libgamma_x_randr_crtc_destroy(libgamma_crtc_state_t* restrict this) __attribute__((const));
/**
* Restore the gamma ramps for a CRTC to the system settings for that CRTC