diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-11-17 17:19:02 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-11-17 17:19:02 +0100 |
commit | e42f014cffae126a52c92fbf8151e6f5cecc9de0 (patch) | |
tree | d4d7754aec574bb35a830db30d690df592a224b1 /src/exchange-lib/testing_api_cmd_withdraw.c | |
parent | cf1ce4786356cba7d3f84a74fab282650f612db9 (diff) | |
download | exchange-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_cmd_withdraw.c')
-rw-r--r-- | src/exchange-lib/testing_api_cmd_withdraw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/exchange-lib/testing_api_cmd_withdraw.c b/src/exchange-lib/testing_api_cmd_withdraw.c index 51dd1d719..344a5c468 100644 --- a/src/exchange-lib/testing_api_cmd_withdraw.c +++ b/src/exchange-lib/testing_api_cmd_withdraw.c @@ -245,7 +245,7 @@ withdraw_run (void *cls, struct TALER_TESTING_Interpreter *is) { struct WithdrawState *ws = cls; - struct TALER_ReservePrivateKeyP *rp; + const struct TALER_ReservePrivateKeyP *rp; const struct TALER_TESTING_Command *create_reserve; (void) cmd; @@ -333,13 +333,13 @@ withdraw_cleanup (void *cls, */ static int withdraw_traits (void *cls, - void **ret, + const void **ret, const char *trait, unsigned int index) { struct WithdrawState *ws = cls; const struct TALER_TESTING_Command *reserve_cmd; - struct TALER_ReservePrivateKeyP *reserve_priv; + const struct TALER_ReservePrivateKeyP *reserve_priv; /* We offer the reserve key where these coins were withdrawn * from. */ |