aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-linux-drm.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-22 22:49:57 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-22 22:49:57 +0200
commit46d1ed733f99a6058b6117b0fa3c79b6f329caae (patch)
treecbffe9128f32263ba8a0da5340d6eb3dbde20648 /src/gamma-linux-drm.h
parentlibrary linking and some of gamma-linux-drm (diff)
downloadlibgamma-46d1ed733f99a6058b6117b0fa3c79b6f329caae.tar.gz
libgamma-46d1ed733f99a6058b6117b0fa3c79b6f329caae.tar.bz2
libgamma-46d1ed733f99a6058b6117b0fa3c79b6f329caae.tar.xz
m misc + most of the gamma-linux-drm stuff
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/gamma-linux-drm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gamma-linux-drm.h b/src/gamma-linux-drm.h
index 2f757bf..91707ae 100644
--- a/src/gamma-linux-drm.h
+++ b/src/gamma-linux-drm.h
@@ -54,7 +54,7 @@ int libgamma_linux_drm_site_initialise(libgamma_site_state_t* restrict this,
*
* @param this The site state
*/
-void libgamma_linux_drm_site_destroy(libgamma_site_state_t* restrict this);
+void libgamma_linux_drm_site_destroy(libgamma_site_state_t* restrict this) __attribute__((const));
/**
* Restore the gamma ramps all CRTCS with a site to the system settings
@@ -112,7 +112,7 @@ int libgamma_linux_drm_crtc_initialise(libgamma_crtc_state_t* restrict this,
*
* @param this The CRTC state
*/
-void libgamma_linux_drm_crtc_destroy(libgamma_crtc_state_t* restrict this);
+void libgamma_linux_drm_crtc_destroy(libgamma_crtc_state_t* restrict this) __attribute__((const));
/**
* Restore the gamma ramps for a CRTC to the system settings for that CRTC