From ab7f957f377cc1d28d35785fefb185533da9f6e4 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 22 May 2014 21:12:44 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/gamma-quartz-cg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gamma-quartz-cg.h') 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 -- cgit v1.2.3-70-g09d2