summaryrefslogtreecommitdiff
path: root/src/exchange-lib/testing_api_trait_wtid.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-11-17 17:19:02 +0100
committerChristian Grothoff <christian@grothoff.org>2018-11-17 17:19:02 +0100
commite42f014cffae126a52c92fbf8151e6f5cecc9de0 (patch)
treed4d7754aec574bb35a830db30d690df592a224b1 /src/exchange-lib/testing_api_trait_wtid.c
parentcf1ce4786356cba7d3f84a74fab282650f612db9 (diff)
downloadexchange-e42f014cffae126a52c92fbf8151e6f5cecc9de0.tar.gz
exchange-e42f014cffae126a52c92fbf8151e6f5cecc9de0.tar.bz2
exchange-e42f014cffae126a52c92fbf8151e6f5cecc9de0.zip
use more const in taler_testing_lib.h
Diffstat (limited to 'src/exchange-lib/testing_api_trait_wtid.c')
-rw-r--r--src/exchange-lib/testing_api_trait_wtid.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/exchange-lib/testing_api_trait_wtid.c b/src/exchange-lib/testing_api_trait_wtid.c
index 8406dbbba..672329713 100644
--- a/src/exchange-lib/testing_api_trait_wtid.c
+++ b/src/exchange-lib/testing_api_trait_wtid.c
@@ -44,26 +44,26 @@ int
TALER_TESTING_get_trait_wtid
(const struct TALER_TESTING_Command *cmd,
unsigned int index,
- struct TALER_WireTransferIdentifierRawP **wtid)
+ const struct TALER_WireTransferIdentifierRawP **wtid)
{
return cmd->traits (cmd->cls,
- (void **) wtid,
+ (const void **) wtid,
TALER_TESTING_TRAIT_WTID,
index);
}
+
/**
* Offer a WTID.
*
* @param index associate the object with this index
* @param wtid which object should be returned
- *
* @return the trait.
*/
struct TALER_TESTING_Trait
TALER_TESTING_make_trait_wtid
(unsigned int index,
- struct TALER_WireTransferIdentifierRawP *wtid)
+ const struct TALER_WireTransferIdentifierRawP *wtid)
{
struct TALER_TESTING_Trait ret = {
.index = index,