aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-quartz-cg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gamma-quartz-cg.h')
-rw-r--r--src/gamma-quartz-cg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gamma-quartz-cg.h b/src/gamma-quartz-cg.h
index f4331b4..e70ecc5 100644
--- a/src/gamma-quartz-cg.h
+++ b/src/gamma-quartz-cg.h
@@ -105,14 +105,14 @@ int libgamma_quartz_cg_partition_restore(libgamma_partition_state_t* restrict th
* error identifier provided by this library
*/
int libgamma_quartz_cg_crtc_initialise(libgamma_crtc_state_t* restrict this,
- libgamma_partition_state_t* restrict partition, size_t crtc);
+ libgamma_partition_state_t* restrict partition, size_t crtc) __attribute__((pure));
/**
* Release all resources held by a CRTC state
*
* @param this The CRTC state
*/
-void libgamma_quartz_cg_crtc_destroy(libgamma_crtc_state_t* restrict this);
+void libgamma_quartz_cg_crtc_destroy(libgamma_crtc_state_t* restrict this) __attribute__((const));
/**
* Restore the gamma ramps for a CRTC to the system settings for that CRTC