aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-x-vidmode.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/gamma-x-vidmode.h6
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