commit 369b52aac1ffe65fc3e5f915114bdb44d9211e17 parent d68f76bf9b44732e8a3d7818ba7fc980187732a5 Author: Christian Grothoff <christian@grothoff.org> Date: Sun, 25 Oct 2020 19:11:10 +0100 indentation fixes Diffstat:
7 files changed, 15 insertions(+), 6 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_auditors.c b/src/backend/taler-merchant-httpd_auditors.c @@ -216,6 +216,7 @@ parse_auditors (void *cls, auditor); } + int TMH_AUDITORS_init (const struct GNUNET_CONFIGURATION_Handle *cfg) { diff --git a/src/backend/taler-merchant-httpd_exchanges.c b/src/backend/taler-merchant-httpd_exchanges.c @@ -604,6 +604,7 @@ process_find_operations (struct Exchange *exchange) return need_wire; } + static void wire_task_cb (void *cls); @@ -940,6 +941,7 @@ return_result (void *cls) } } + struct TMH_EXCHANGES_FindOperation * TMH_EXCHANGES_find_exchange (const char *chosen_exchange, const char *wire_method, @@ -1169,6 +1171,7 @@ accept_exchanges (void *cls, exchange); } + int TMH_EXCHANGES_init (const struct GNUNET_CONFIGURATION_Handle *cfg) { @@ -1208,6 +1211,7 @@ TMH_EXCHANGES_init (const struct GNUNET_CONFIGURATION_Handle *cfg) return json_array_size (TMH_trusted_exchanges); } + void TMH_EXCHANGES_done () { diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-abort.c b/src/backend/taler-merchant-httpd_post-orders-ID-abort.c @@ -257,6 +257,7 @@ abort_refunds (struct AbortContext *ac) } } + void TMH_force_ac_resume () { diff --git a/src/backend/taler-merchant-httpd_private-get-tips.c b/src/backend/taler-merchant-httpd_private-get-tips.c @@ -51,6 +51,7 @@ add_tip (void *cls, TALER_JSON_from_amount (&amount)))); } + MHD_RESULT TMH_private_get_tips (const struct TMH_RequestHandler *rh, struct MHD_Connection *connection, diff --git a/src/lib/merchant_api_post_order_claim.c b/src/lib/merchant_api_post_order_claim.c @@ -190,7 +190,8 @@ TALER_MERCHANT_order_claim (struct GNUNET_CURL_Context *ctx, GNUNET_assert (0 == json_object_set_new (req_obj, "token", - GNUNET_JSON_from_data_auto (claim_token))); + GNUNET_JSON_from_data_auto ( + claim_token))); } och = GNUNET_new (struct TALER_MERCHANT_OrderClaimHandle); och->ctx = ctx; diff --git a/src/lib/merchant_api_post_orders.c b/src/lib/merchant_api_post_orders.c @@ -100,10 +100,10 @@ handle_post_order_finished (void *cls, struct GNUNET_JSON_Specification spec[] = { GNUNET_JSON_spec_string ("order_id", &order_id), - (!has_token) ? - GNUNET_JSON_spec_end () : - GNUNET_JSON_spec_fixed_auto ("token", - &token), + (! has_token) ? + GNUNET_JSON_spec_end () : + GNUNET_JSON_spec_fixed_auto ("token", + &token), GNUNET_JSON_spec_end () }; diff --git a/src/testing/testing_api_cmd_wallet_post_orders_refund.c b/src/testing/testing_api_cmd_wallet_post_orders_refund.c @@ -138,7 +138,8 @@ refund_cb ( /* The most recent refunds are returned first */ GNUNET_assert (0 <= TALER_amount_add (&refunded_total, &refunded_total, - &refunds[refunds_length - 1 - i].refund_amount)); + &refunds[refunds_length - 1 + - i].refund_amount)); if ((GNUNET_OK != TALER_amount_cmp_currency (&expected_amount, &refunded_total)) ||