aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-w32-gdi.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gamma-w32-gdi.h')
-rw-r--r--src/gamma-w32-gdi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gamma-w32-gdi.h b/src/gamma-w32-gdi.h
index 02c220e..74c19fb 100644
--- a/src/gamma-w32-gdi.h
+++ b/src/gamma-w32-gdi.h
@@ -54,7 +54,7 @@ int libgamma_w32_gdi_site_initialise(libgamma_site_state_t* restrict this,
*
* @param this The site state
*/
-void libgamma_w32_gdi_site_destroy(libgamma_site_state_t* restrict this);
+void libgamma_w32_gdi_site_destroy(libgamma_site_state_t* restrict this) __attribute__((const));
/**
* Restore the gamma ramps all CRTCS with a site to the system settings
@@ -83,7 +83,7 @@ int libgamma_w32_gdi_partition_initialise(libgamma_partition_state_t* restrict t
*
* @param this The partition state
*/
-void libgamma_w32_gdi_partition_destroy(libgamma_partition_state_t* restrict this);
+void libgamma_w32_gdi_partition_destroy(libgamma_partition_state_t* restrict this) __attribute__((const));
/**
* Restore the gamma ramps all CRTCS with a partition to the system settings