make parameter const

This commit is contained in:
Florian Dold 2020-01-18 17:43:57 +01:00
parent fef001cfdd
commit 0f214150db
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
2 changed files with 4 additions and 2 deletions

View File

@ -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);
/**

View File

@ -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,