From eb197ddb00e9f444f50069b2376a537331bb7473 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 23 May 2014 17:15:16 +0200 Subject: implement gamma-x-vidmode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/gamma-x-vidmode.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gamma-x-vidmode.h') diff --git a/src/gamma-x-vidmode.h b/src/gamma-x-vidmode.h index 396fd7a..f2c915a 100644 --- a/src/gamma-x-vidmode.h +++ b/src/gamma-x-vidmode.h @@ -83,7 +83,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 this); +void libgamma_x_vidmode_partition_destroy(libgamma_partition_state_t* restrict this) __attribute__((const)); /** * Restore the gamma ramps all CRTCS with a partition to the system settings @@ -105,14 +105,14 @@ int libgamma_x_vidmode_partition_restore(libgamma_partition_state_t* restrict th * error identifier provided by this library */ int libgamma_x_vidmode_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__((const)); /** * Release all resources held by a CRTC state * * @param this The CRTC state */ -void libgamma_x_vidmode_crtc_destroy(libgamma_crtc_state_t* restrict this); +void libgamma_x_vidmode_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