diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-23 17:15:16 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-23 17:15:16 +0200 |
commit | eb197ddb00e9f444f50069b2376a537331bb7473 (patch) | |
tree | dabf22455a0378403042d3be2ec248bc39d2fcdc /src/gamma-x-vidmode.h | |
parent | parse edid (diff) | |
download | libgamma-eb197ddb00e9f444f50069b2376a537331bb7473.tar.gz libgamma-eb197ddb00e9f444f50069b2376a537331bb7473.tar.bz2 libgamma-eb197ddb00e9f444f50069b2376a537331bb7473.tar.xz |
implement gamma-x-vidmode
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/gamma-x-vidmode.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 |