diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-11-17 17:19:02 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-11-17 17:19:02 +0100 |
commit | e42f014cffae126a52c92fbf8151e6f5cecc9de0 (patch) | |
tree | d4d7754aec574bb35a830db30d690df592a224b1 /src/bank-lib | |
parent | cf1ce4786356cba7d3f84a74fab282650f612db9 (diff) |
use more const in taler_testing_lib.h
Diffstat (limited to 'src/bank-lib')
-rw-r--r-- | src/bank-lib/testing_api_cmd_history.c | 3 | ||||
-rw-r--r-- | src/bank-lib/testing_api_cmd_reject.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/bank-lib/testing_api_cmd_history.c b/src/bank-lib/testing_api_cmd_history.c index 9482361ae..b1bed3fc4 100644 --- a/src/bank-lib/testing_api_cmd_history.c +++ b/src/bank-lib/testing_api_cmd_history.c @@ -116,6 +116,7 @@ struct History */ extern struct TALER_BANK_AuthenticationData AUTHS[]; + /** * Offer internal data to other commands. * @@ -128,7 +129,7 @@ extern struct TALER_BANK_AuthenticationData AUTHS[]; */ static int history_traits (void *cls, - void **ret, + const void **ret, const char *trait, unsigned int index) { diff --git a/src/bank-lib/testing_api_cmd_reject.c b/src/bank-lib/testing_api_cmd_reject.c index d2fffb865..2bec10ad7 100644 --- a/src/bank-lib/testing_api_cmd_reject.c +++ b/src/bank-lib/testing_api_cmd_reject.c @@ -166,7 +166,7 @@ reject_run (void *cls, */ static int reject_traits (void *cls, - void **ret, + const void **ret, const char *trait, unsigned int index) { |