aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcoopgamma.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-21 00:37:45 +0200
committerMattias Andrée <maandree@kth.se>2016-07-21 00:37:55 +0200
commitc6c00dab99a974c809047cb39eca4b753f14eaa7 (patch)
tree5fd9bc3cc2abb2e5b677dee3b3aa8a767ef30bca /src/libcoopgamma.h
parentm fix (diff)
downloadlibcoopgamma-c6c00dab99a974c809047cb39eca4b753f14eaa7.tar.gz
libcoopgamma-c6c00dab99a974c809047cb39eca4b753f14eaa7.tar.bz2
libcoopgamma-c6c00dab99a974c809047cb39eca4b753f14eaa7.tar.xz
Add missing const
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/libcoopgamma.h')
-rw-r--r--src/libcoopgamma.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/libcoopgamma.h b/src/libcoopgamma.h
index 633fe65..de188de 100644
--- a/src/libcoopgamma.h
+++ b/src/libcoopgamma.h
@@ -1468,7 +1468,7 @@ int libcoopgamma_get_gamma_info_sync(const char* restrict, libcoopgamma_crtc_inf
* @return Zero on success, -1 on error
*/
LIBCOOPGAMMA_GCC_ONLY(__attribute__((__nonnull__)))
-int libcoopgamma_get_gamma_send(libcoopgamma_filter_query_t* restrict, libcoopgamma_context_t* restrict,
+int libcoopgamma_get_gamma_send(const libcoopgamma_filter_query_t* restrict, libcoopgamma_context_t* restrict,
libcoopgamma_async_context_t* restrict);
/**
@@ -1501,7 +1501,8 @@ int libcoopgamma_get_gamma_recv(libcoopgamma_filter_table_t* restrict, libcoopga
* (rather than `errno`) is read for information about the error
*/
LIBCOOPGAMMA_GCC_ONLY(__attribute__((__nonnull__)))
-int libcoopgamma_get_gamma_sync(libcoopgamma_filter_query_t* restrict, libcoopgamma_filter_table_t* restrict,
+int libcoopgamma_get_gamma_sync(const libcoopgamma_filter_query_t* restrict,
+ libcoopgamma_filter_table_t* restrict,
libcoopgamma_context_t* restrict);
@@ -1518,7 +1519,7 @@ int libcoopgamma_get_gamma_sync(libcoopgamma_filter_query_t* restrict, libcoopga
* @return Zero on success, -1 on error
*/
LIBCOOPGAMMA_GCC_ONLY(__attribute__((__nonnull__)))
-int libcoopgamma_set_gamma_send(libcoopgamma_filter_t* restrict, libcoopgamma_depth_t,
+int libcoopgamma_set_gamma_send(const libcoopgamma_filter_t* restrict, libcoopgamma_depth_t,
libcoopgamma_context_t* restrict, libcoopgamma_async_context_t* restrict);
/**
@@ -1549,7 +1550,7 @@ int libcoopgamma_set_gamma_recv(libcoopgamma_context_t* restrict, libcoopgamma_a
* (rather than `errno`) is read for information about the error
*/
LIBCOOPGAMMA_GCC_ONLY(__attribute__((__nonnull__)))
-int libcoopgamma_set_gamma_sync(libcoopgamma_filter_t* restrict, libcoopgamma_depth_t,
+int libcoopgamma_set_gamma_sync(const libcoopgamma_filter_t* restrict, libcoopgamma_depth_t,
libcoopgamma_context_t* restrict);