gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-merchant] branch master updated: Providing 'static'


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] branch master updated: Providing 'static' keyword where missing.
Date: Wed, 04 Jul 2018 14:31:58 +0200

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 664266b  Providing 'static' keyword where missing.
664266b is described below

commit 664266b2fb8bd160a974da13d119828dc0a8a38d
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Jul 4 14:31:29 2018 +0200

    Providing 'static' keyword where missing.
---
 src/backend/taler-merchant-httpd_pay.c         | 2 +-
 src/backend/taler-merchant-httpd_trigger-pay.c | 2 +-
 src/backenddb/plugin_merchantdb_postgres.c     | 8 ++++----
 src/lib/merchant_api_refund.c                  | 2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_pay.c 
b/src/backend/taler-merchant-httpd_pay.c
index 6b0a64a..f1444be 100644
--- a/src/backend/taler-merchant-httpd_pay.c
+++ b/src/backend/taler-merchant-httpd_pay.c
@@ -460,7 +460,7 @@ abort_deposit (struct PayContext *pc)
  * @param pc payment context
  * @return the mhd response
  */
-struct MHD_Response *
+static struct MHD_Response *
 sign_success_response (struct PayContext *pc)
 {
   json_t *refunds;
diff --git a/src/backend/taler-merchant-httpd_trigger-pay.c 
b/src/backend/taler-merchant-httpd_trigger-pay.c
index 1b0a7ba..2187acb 100644
--- a/src/backend/taler-merchant-httpd_trigger-pay.c
+++ b/src/backend/taler-merchant-httpd_trigger-pay.c
@@ -41,7 +41,7 @@
  * @param response response that receives the header
  * @param header_name name of the header to set
  */
-void
+static void
 add_header_from_arg (struct MHD_Connection *connection, const char *arg_name,
                      struct MHD_Response *response, const char *header_name)
 {
diff --git a/src/backenddb/plugin_merchantdb_postgres.c 
b/src/backenddb/plugin_merchantdb_postgres.c
index c7427d7..684ddd1 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -744,7 +744,7 @@ postgres_start (void *cls,
  * @param cls the `struct PostgresClosure` with the plugin-specific state
  * @return #GNUNET_OK on success
  */
-void
+static void
 postgres_rollback (void *cls)
 {
   struct PostgresClosure *pg = cls;
@@ -1077,7 +1077,7 @@ postgres_insert_order (void *cls,
  *        if payment was not session-bound
  * @return transaction status
  */
-enum GNUNET_DB_QueryStatus
+static enum GNUNET_DB_QueryStatus
 postgres_mark_proposal_paid (void *cls,
                              const struct GNUNET_HashCode *h_contract_terms,
                              const struct TALER_MerchantPublicKeyP 
*merchant_pub,
@@ -1510,7 +1510,7 @@ find_tip_authorizations_cb (void *cls,
  *      #GNUNET_DB_STATUS_SUCCESS_NO_RESULTS if the reserve_priv
  *      does not identify a known tipping reserve
  */
-enum GNUNET_DB_QueryStatus
+static enum GNUNET_DB_QueryStatus
 postgres_get_authorized_tip_amount (void *cls,
                                     const struct TALER_ReservePrivateKeyP 
*reserve_priv,
                                     struct TALER_Amount *authorized_amount)
@@ -2252,7 +2252,7 @@ postgres_get_refunds_from_contract_terms_hash (void *cls,
  * @param refund how much this coin is refunding
  * @param refund_fee refund fee for this coin
  */
-enum GNUNET_DB_QueryStatus
+static enum GNUNET_DB_QueryStatus
 insert_refund (void *cls,
                const struct TALER_MerchantPublicKeyP *merchant_pub,
                const struct GNUNET_HashCode *h_contract_terms,
diff --git a/src/lib/merchant_api_refund.c b/src/lib/merchant_api_refund.c
index 0dbd52f..e724108 100644
--- a/src/lib/merchant_api_refund.c
+++ b/src/lib/merchant_api_refund.c
@@ -268,7 +268,7 @@ TALER_MERCHANT_refund_lookup_cancel (struct 
TALER_MERCHANT_RefundLookupOperation
 /**
  * Process GET /refund response
  */
-void
+static void
 handle_refund_lookup_finished (void *cls,
                                long response_code,
                                const json_t *json)

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]