From e42f014cffae126a52c92fbf8151e6f5cecc9de0 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 17 Nov 2018 17:19:02 +0100 Subject: use more const in taler_testing_lib.h --- src/exchange-lib/testing_api_cmd_fakebank_transfer.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/exchange-lib/testing_api_cmd_fakebank_transfer.c') 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) { -- cgit v1.2.3