aboutsummaryrefslogtreecommitdiff
path: root/src/exchange-lib/testing_api_cmd_fakebank_transfer.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_cmd_fakebank_transfer.c
parentcf1ce4786356cba7d3f84a74fab282650f612db9 (diff)
use more const in taler_testing_lib.h
Diffstat (limited to 'src/exchange-lib/testing_api_cmd_fakebank_transfer.c')
-rw-r--r--src/exchange-lib/testing_api_cmd_fakebank_transfer.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/exchange-lib/testing_api_cmd_fakebank_transfer.c b/src/exchange-lib/testing_api_cmd_fakebank_transfer.c
index 1f601519..6d826def 100644
--- a/src/exchange-lib/testing_api_cmd_fakebank_transfer.c
+++ b/src/exchange-lib/testing_api_cmd_fakebank_transfer.c
@@ -259,7 +259,7 @@ fakebank_transfer_run (void *cls,
if (NULL != fts->reserve_reference)
{
const struct TALER_TESTING_Command *ref;
- struct TALER_ReservePrivateKeyP *reserve_priv;
+ const struct TALER_ReservePrivateKeyP *reserve_priv;
ref = TALER_TESTING_interpreter_lookup_command
(is, fts->reserve_reference);
@@ -414,12 +414,11 @@ fakebank_transfer_cleanup (void *cls,
* @param ret[out] result
* @param trait name of the trait.
* @param index index number of the object to offer.
- *
* @return #GNUNET_OK on success.
*/
static int
fakebank_transfer_traits (void *cls,
- void **ret,
+ const void **ret,
const char *trait,
unsigned int index)
{