diff options
author | Mattias Andrée <maandree@kth.se> | 2016-07-21 00:37:45 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-07-21 00:37:55 +0200 |
commit | c6c00dab99a974c809047cb39eca4b753f14eaa7 (patch) | |
tree | 5fd9bc3cc2abb2e5b677dee3b3aa8a767ef30bca /src/libcoopgamma.c | |
parent | m fix (diff) | |
download | libcoopgamma-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.c')
-rw-r--r-- | src/libcoopgamma.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libcoopgamma.c b/src/libcoopgamma.c index 7d84661..17f7f9c 100644 --- a/src/libcoopgamma.c +++ b/src/libcoopgamma.c @@ -2112,7 +2112,7 @@ int libcoopgamma_get_gamma_info_sync(const char* restrict ctrc, libcoopgamma_crt * identify and parse the response, is stored here * @return Zero on success, -1 on error */ -int libcoopgamma_get_gamma_send(libcoopgamma_filter_query_t* restrict query, +int libcoopgamma_get_gamma_send(const libcoopgamma_filter_query_t* restrict query, libcoopgamma_context_t* restrict ctx, libcoopgamma_async_context_t* restrict async) { @@ -2310,7 +2310,7 @@ int libcoopgamma_get_gamma_recv(libcoopgamma_filter_table_t* restrict table, * @return Zero on success, -1 on error, in which case `ctx->error` * (rather than `errno`) is read for information about the error */ -int libcoopgamma_get_gamma_sync(libcoopgamma_filter_query_t* restrict query, +int libcoopgamma_get_gamma_sync(const libcoopgamma_filter_query_t* restrict query, libcoopgamma_filter_table_t* restrict table, libcoopgamma_context_t* restrict ctx) { @@ -2332,7 +2332,7 @@ int libcoopgamma_get_gamma_sync(libcoopgamma_filter_query_t* restrict query, * identify and parse the response, is stored here * @return Zero on success, -1 on error */ -int libcoopgamma_set_gamma_send(libcoopgamma_filter_t* restrict filter, libcoopgamma_depth_t depth, +int libcoopgamma_set_gamma_send(const libcoopgamma_filter_t* restrict filter, libcoopgamma_depth_t depth, libcoopgamma_context_t* restrict ctx, libcoopgamma_async_context_t* restrict async) { @@ -2452,7 +2452,7 @@ int libcoopgamma_set_gamma_recv(libcoopgamma_context_t* restrict ctx, * @return Zero on success, -1 on error, in which case `ctx->error` * (rather than `errno`) is read for information about the error */ -int libcoopgamma_set_gamma_sync(libcoopgamma_filter_t* restrict filter, libcoopgamma_depth_t depth, +int libcoopgamma_set_gamma_sync(const libcoopgamma_filter_t* restrict filter, libcoopgamma_depth_t depth, libcoopgamma_context_t* restrict ctx) { SYNC_CALL(libcoopgamma_set_gamma_send(filter, depth, ctx, &async), |