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_traits.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/exchange-lib/testing_api_traits.c') diff --git a/src/exchange-lib/testing_api_traits.c b/src/exchange-lib/testing_api_traits.c index 81f96b8f..aa6c79c8 100644 --- a/src/exchange-lib/testing_api_traits.c +++ b/src/exchange-lib/testing_api_traits.c @@ -53,12 +53,11 @@ TALER_TESTING_trait_end () * @param ret where to store the result. * @param trait type of the trait to extract. * @param index index number of the object to extract. - * - * @return GNUNET_OK if no error occurred, GNUNET_SYSERR otherwise. + * @return #GNUNET_OK if no error occurred, #GNUNET_SYSERR otherwise. */ int TALER_TESTING_get_trait (const struct TALER_TESTING_Trait *traits, - void **ret, + const void **ret, const char *trait, unsigned int index) { -- cgit v1.2.3