[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] 02/02: -fix compiler warnings: use static
From: |
gnunet |
Subject: |
[taler-exchange] 02/02: -fix compiler warnings: use static |
Date: |
Fri, 13 Dec 2024 01:48:23 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
commit f01cdeacd8906c5b5673d50a357854d748c135ec
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Dec 13 01:48:15 2024 +0100
-fix compiler warnings: use static
---
src/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
index e316223fd..ecaa49b04 100644
--- 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,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.