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_trait_json.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/exchange-lib/testing_api_trait_json.c') diff --git a/src/exchange-lib/testing_api_trait_json.c b/src/exchange-lib/testing_api_trait_json.c index 675be6cf..d2730791 100644 --- a/src/exchange-lib/testing_api_trait_json.c +++ b/src/exchange-lib/testing_api_trait_json.c @@ -39,7 +39,6 @@ * on offer; usually zero, as one command sticks to * one bank account. * @param wire_details[out] where to write the wire details. - * * @return #GNUNET_OK on success. */ int @@ -49,11 +48,12 @@ TALER_TESTING_get_trait_wire_details const json_t **wire_details) { return cmd->traits (cmd->cls, - (void **) wire_details, + (const void **) wire_details, TALER_TESTING_TRAIT_WIRE_DETAILS, index); } + /** * Offer wire details in a trait. * @@ -61,7 +61,6 @@ TALER_TESTING_get_trait_wire_details * on offer; usually zero, as one command sticks to * one bank account. * @param wire_details wire details to offer. - * * @return the trait. */ struct TALER_TESTING_Trait -- cgit v1.2.3