commit 0f214150db9fbfe737e451e2ea78000ec175ebab
parent fef001cfddcded0f6290f101fd35eed27f7b976c
Author: Florian Dold <florian.dold@gmail.com>
Date: Sat, 18 Jan 2020 17:43:57 +0100
make parameter const
Diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h
@@ -2370,7 +2370,8 @@ TALER_TESTING_get_trait_merchant_pub (const struct TALER_TESTING_Command *cmd,
*/
struct TALER_TESTING_Trait
TALER_TESTING_make_trait_merchant_pub (unsigned int index,
- struct TALER_MerchantPublicKeyP *pub);
+ const struct
+ TALER_MerchantPublicKeyP *pub);
/**
diff --git a/src/lib/testing_api_trait_merchant_key.c b/src/lib/testing_api_trait_merchant_key.c
@@ -112,7 +112,8 @@ TALER_TESTING_get_trait_merchant_pub
*/
struct TALER_TESTING_Trait
TALER_TESTING_make_trait_merchant_pub (unsigned int index,
- struct TALER_MerchantPublicKeyP *pub)
+ const struct
+ TALER_MerchantPublicKeyP *pub)
{
struct TALER_TESTING_Trait ret = {
.index = index,