summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-01-18 17:43:57 +0100
committerFlorian Dold <florian.dold@gmail.com>2020-01-18 17:44:06 +0100
commit0f214150db9fbfe737e451e2ea78000ec175ebab (patch)
tree48b28a5a8f286a0f5ed201c25d87ea1a87191fea /src
parentfef001cfddcded0f6290f101fd35eed27f7b976c (diff)
downloadexchange-0f214150db9fbfe737e451e2ea78000ec175ebab.tar.gz
exchange-0f214150db9fbfe737e451e2ea78000ec175ebab.tar.bz2
exchange-0f214150db9fbfe737e451e2ea78000ec175ebab.zip
make parameter const
Diffstat (limited to 'src')
-rw-r--r--src/include/taler_testing_lib.h3
-rw-r--r--src/lib/testing_api_trait_merchant_key.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h
index 14e09c91..c90991ac 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 4dc30c6a..1657560d 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,