summaryrefslogtreecommitdiff
path: root/src/exchange-lib/testing_api_trait_reserve_priv.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_trait_reserve_priv.c
parentcf1ce4786356cba7d3f84a74fab282650f612db9 (diff)
downloadexchange-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_trait_reserve_priv.c')
-rw-r--r--src/exchange-lib/testing_api_trait_reserve_priv.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/exchange-lib/testing_api_trait_reserve_priv.c b/src/exchange-lib/testing_api_trait_reserve_priv.c
index aa1ce3d6d..4a619d07f 100644
--- a/src/exchange-lib/testing_api_trait_reserve_priv.c
+++ b/src/exchange-lib/testing_api_trait_reserve_priv.c
@@ -38,17 +38,16 @@
* @param cmd command to extract the reserve priv from.
* @param index reserve priv's index number.
* @param reserve_priv[out] set to the reserve priv.
- *
* @return #GNUNET_OK on success.
*/
int
TALER_TESTING_get_trait_reserve_priv
(const struct TALER_TESTING_Command *cmd,
unsigned int index,
- struct TALER_ReservePrivateKeyP **reserve_priv)
+ const struct TALER_ReservePrivateKeyP **reserve_priv)
{
return cmd->traits (cmd->cls,
- (void **) reserve_priv,
+ (const void **) reserve_priv,
TALER_TESTING_TRAIT_RESERVE_PRIVATE_KEY,
index);
}
@@ -59,7 +58,6 @@ TALER_TESTING_get_trait_reserve_priv
*
* @param index reserve priv's index number.
* @param reserve_priv reserve private key to offer.
- *
* @return the trait.
*/
struct TALER_TESTING_Trait