summaryrefslogtreecommitdiff
path: root/src/backenddb
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-07-04 14:31:29 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-07-04 14:31:29 +0200
commit664266b2fb8bd160a974da13d119828dc0a8a38d (patch)
treeb384364c0b03f20ef55b719f9053dd74423430c7 /src/backenddb
parent843933bf867b1d5b3830418290fe3e8bad904efc (diff)
downloadmerchant-664266b2fb8bd160a974da13d119828dc0a8a38d.tar.gz
merchant-664266b2fb8bd160a974da13d119828dc0a8a38d.tar.bz2
merchant-664266b2fb8bd160a974da13d119828dc0a8a38d.zip
Providing 'static' keyword where missing.
Diffstat (limited to 'src/backenddb')
-rw-r--r--src/backenddb/plugin_merchantdb_postgres.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c
index c7427d77..684ddd11 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,