exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit f01cdeacd8906c5b5673d50a357854d748c135ec
parent 5e142edf661bb353784e189810ce688fe2607a7b
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri, 13 Dec 2024 01:48:15 +0100

-fix compiler warnings: use static

Diffstat:
Msrc/exchange/taler-exchange-httpd_withdraw.c | 9++++-----
1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_withdraw.c b/src/exchange/taler-exchange-httpd_withdraw.c @@ -827,7 +827,7 @@ run_transaction ( * @param wc context for request processing, with @e withdraw_type set to WITHDRAW_TYPE_BATCH * @return GNUNET_OK on success */ -enum GNUNET_GenericReturnValue +static enum GNUNET_GenericReturnValue batch_withdraw_prepare_transaction (struct WithdrawContext *wc) { const struct TEH_RequestContext *rc = wc->rc; @@ -880,7 +880,7 @@ batch_withdraw_prepare_transaction (struct WithdrawContext *wc) * @param wc The context for the current withdraw request, with @e withdraw_type set to WITHDRAW_TYPE_AGE * @return GNUNET_OK on success */ -enum GNUNET_GenericReturnValue +static enum GNUNET_GenericReturnValue age_withdraw_prepare_transaction ( struct WithdrawContext *wc) { @@ -2056,9 +2056,8 @@ age_withdraw_new_request ( * @param root uploaded JSON data * @param reserve_pub public key of the reserve * @return MHD result code - */ -MHD_RESULT -static + */ +static MHD_RESULT handler_withdraw ( struct TEH_RequestContext *rc, enum WithdrawType typ,