diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-01-18 17:43:57 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-01-18 17:44:06 +0100 |
commit | 0f214150db9fbfe737e451e2ea78000ec175ebab (patch) | |
tree | 48b28a5a8f286a0f5ed201c25d87ea1a87191fea /src | |
parent | fef001cfddcded0f6290f101fd35eed27f7b976c (diff) | |
download | exchange-0f214150db9fbfe737e451e2ea78000ec175ebab.tar.xz |
make parameter const
Diffstat (limited to 'src')
-rw-r--r-- | src/include/taler_testing_lib.h | 3 | ||||
-rw-r--r-- | src/lib/testing_api_trait_merchant_key.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index 14e09c911..c90991ac4 100644 --- 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 index 4dc30c6a2..1657560d3 100644 --- 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, |