diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-22 21:12:44 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-22 21:12:44 +0200 |
commit | ab7f957f377cc1d28d35785fefb185533da9f6e4 (patch) | |
tree | ca7370b75b0d033b0105987fc4d1ebf23ea7b72d /src/gamma-quartz-cg.h | |
parent | m misc + gamma-quartz-cg (diff) | |
download | libgamma-ab7f957f377cc1d28d35785fefb185533da9f6e4.tar.gz libgamma-ab7f957f377cc1d28d35785fefb185533da9f6e4.tar.bz2 libgamma-ab7f957f377cc1d28d35785fefb185533da9f6e4.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/gamma-quartz-cg.h')
-rw-r--r-- | src/gamma-quartz-cg.h | 4 |
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 |