[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: fix clang build issue
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: fix clang build issue |
Date: |
Tue, 01 Oct 2024 12:48:45 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new a6deee497 fix clang build issue
a6deee497 is described below
commit a6deee497c1e4515c426d755f2b473905b958eca
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Oct 1 12:48:26 2024 +0200
fix clang build issue
---
src/exchange/taler-exchange-httpd_kyc-wallet.c | 1 -
src/exchange/taler-exchange-httpd_purses_merge.c | 1 -
src/exchange/taler-exchange-httpd_reserves_close.c | 1 -
src/exchange/taler-exchange-httpd_reserves_purse.c | 1 -
src/exchange/taler-exchange-httpd_withdraw.h | 53 ----------------------
src/lib/exchange_api_stefan.c | 4 +-
6 files changed, 2 insertions(+), 59 deletions(-)
diff --git a/src/exchange/taler-exchange-httpd_kyc-wallet.c
b/src/exchange/taler-exchange-httpd_kyc-wallet.c
index 903d87de0..de93c74ef 100644
--- a/src/exchange/taler-exchange-httpd_kyc-wallet.c
+++ b/src/exchange/taler-exchange-httpd_kyc-wallet.c
@@ -30,7 +30,6 @@
#include "taler-exchange-httpd_common_kyc.h"
#include "taler-exchange-httpd_kyc-wallet.h"
#include "taler-exchange-httpd_responses.h"
-#include "taler-exchange-httpd_withdraw.h"
/**
diff --git a/src/exchange/taler-exchange-httpd_purses_merge.c
b/src/exchange/taler-exchange-httpd_purses_merge.c
index 0f6a1e498..7c542242c 100644
--- a/src/exchange/taler-exchange-httpd_purses_merge.c
+++ b/src/exchange/taler-exchange-httpd_purses_merge.c
@@ -33,7 +33,6 @@
#include "taler-exchange-httpd_common_kyc.h"
#include "taler-exchange-httpd_purses_merge.h"
#include "taler-exchange-httpd_responses.h"
-#include "taler-exchange-httpd_withdraw.h"
#include "taler_exchangedb_lib.h"
#include "taler-exchange-httpd_keys.h"
diff --git a/src/exchange/taler-exchange-httpd_reserves_close.c
b/src/exchange/taler-exchange-httpd_reserves_close.c
index bf5815f78..711129927 100644
--- a/src/exchange/taler-exchange-httpd_reserves_close.c
+++ b/src/exchange/taler-exchange-httpd_reserves_close.c
@@ -30,7 +30,6 @@
#include "taler-exchange-httpd_common_kyc.h"
#include "taler-exchange-httpd_keys.h"
#include "taler-exchange-httpd_reserves_close.h"
-#include "taler-exchange-httpd_withdraw.h"
#include "taler-exchange-httpd_responses.h"
diff --git a/src/exchange/taler-exchange-httpd_reserves_purse.c
b/src/exchange/taler-exchange-httpd_reserves_purse.c
index d5a111d5a..26425448b 100644
--- a/src/exchange/taler-exchange-httpd_reserves_purse.c
+++ b/src/exchange/taler-exchange-httpd_reserves_purse.c
@@ -32,7 +32,6 @@
#include "taler-exchange-httpd_common_kyc.h"
#include "taler-exchange-httpd_reserves_purse.h"
#include "taler-exchange-httpd_responses.h"
-#include "taler-exchange-httpd_withdraw.h"
#include "taler_exchangedb_lib.h"
#include "taler-exchange-httpd_keys.h"
diff --git a/src/exchange/taler-exchange-httpd_withdraw.h
b/src/exchange/taler-exchange-httpd_withdraw.h
deleted file mode 100644
index 45ac6340f..000000000
--- a/src/exchange/taler-exchange-httpd_withdraw.h
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- This file is part of TALER
- Copyright (C) 2014-2022 Taler Systems SA
-
- TALER is free software; you can redistribute it and/or modify it under the
- terms of the GNU Affero General Public License as published by the Free
Software
- Foundation; either version 3, or (at your option) any later version.
-
- TALER is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
- A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
details.
-
- You should have received a copy of the GNU Affero General Public License
along with
- TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
-*/
-/**
- * @file taler-exchange-httpd_withdraw.h
- * @brief common code for withdraw requests
- * @author Christian Grothoff
- */
-#ifndef TALER_EXCHANGE_HTTPD_WITHDRAW_H
-#define TALER_EXCHANGE_HTTPD_WITHDRAW_H
-
-#include <microhttpd.h>
-#include "taler-exchange-httpd.h"
-
-
-/**
- * Do legitimization check for withdrawing @a withdraw_total
- * from @a reserve_pub at time @a now.
- *
- * @param[out] kyc set to kyc status
- * @param[out] h_payto set to payto hash of origin account
- * @param[in,out] connection used to return hard errors
- * @param[out] mhd_ret set if errors were returned
- * (only on hard error)
- * @param reserve_pub reserve from which we withdraw
- * @param withdraw_total how much are being withdrawn
- * @param now current time
- * @return transaction status, error will have been
- * queued if transaction status is set to hard error
- */
-enum GNUNET_DB_QueryStatus
-TEH_withdraw_kyc_check (
- struct TALER_EXCHANGEDB_KycStatus *kyc,
- struct TALER_PaytoHashP *h_payto,
- struct MHD_Connection *connection,
- MHD_RESULT *mhd_ret,
- const struct TALER_ReservePublicKeyP *reserve_pub,
- const struct TALER_Amount *withdraw_total,
- struct GNUNET_TIME_Timestamp now);
-
-#endif
diff --git a/src/lib/exchange_api_stefan.c b/src/lib/exchange_api_stefan.c
index 437e78c8b..92d419c03 100644
--- a/src/lib/exchange_api_stefan.c
+++ b/src/lib/exchange_api_stefan.c
@@ -125,7 +125,7 @@ TALER_EXCHANGE_keys_stefan_b2n (
min = get_unit (keys);
if (NULL == min)
return GNUNET_SYSERR;
- if (1.0d <= keys->stefan_lin)
+ if (1.0 <= keys->stefan_lin)
{
/* This cannot work, linear STEFAN fee estimate always
exceed any gross amount. */
@@ -273,7 +273,7 @@ TALER_EXCHANGE_keys_stefan_n2b (
min = get_unit (keys);
if (NULL == min)
return GNUNET_SYSERR;
- if (1.0d <= keys->stefan_lin)
+ if (1.0 <= keys->stefan_lin)
{
/* This cannot work, linear STEFAN fee estimate always
exceed any gross amount. */
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: fix clang build issue,
gnunet <=