[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: make parameter const
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: make parameter const |
Date: |
Sat, 18 Jan 2020 17:44:09 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 0f214150 make parameter const
0f214150 is described below
commit 0f214150db9fbfe737e451e2ea78000ec175ebab
Author: Florian Dold <address@hidden>
AuthorDate: Sat Jan 18 17:43:57 2020 +0100
make parameter const
---
src/include/taler_testing_lib.h | 3 ++-
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 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,
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: make parameter const,
gnunet <=