From 385b3e77dfa1b6bbaee5d0ec9da9bcbd69e91b70 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 31 Oct 2019 12:59:50 +0100 Subject: tighten formatting rules --- src/include/taler_auditordb_plugin.h | 1 - src/include/taler_crypto_lib.h | 1 - src/include/taler_curl_lib.h | 1 - src/include/taler_exchange_service.h | 2 -- src/include/taler_exchangedb_plugin.h | 1 - src/include/taler_fakebank_lib.h | 1 - src/include/taler_signatures.h | 1 - src/include/taler_testing_bank_lib.h | 1 + src/include/taler_testing_lib.h | 7 ++----- src/include/taler_util.h | 11 ++++++----- 10 files changed, 9 insertions(+), 18 deletions(-) (limited to 'src/include') diff --git a/src/include/taler_auditordb_plugin.h b/src/include/taler_auditordb_plugin.h index 6241d8196..03a1c6d47 100644 --- a/src/include/taler_auditordb_plugin.h +++ b/src/include/taler_auditordb_plugin.h @@ -1462,7 +1462,6 @@ struct TALER_AUDITORDB_Plugin void *cb_cls); - /** * Insert information about the predicted exchange's bank * account balance. diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h index 5eb4fbf45..81ea0bb95 100644 --- a/src/include/taler_crypto_lib.h +++ b/src/include/taler_crypto_lib.h @@ -237,7 +237,6 @@ struct TALER_MasterSignatureP }; - /** * @brief Type of public keys for Taler coins. The same key material is used * for EdDSA and ECDHE operations. diff --git a/src/include/taler_curl_lib.h b/src/include/taler_curl_lib.h index 6629704fb..52aa3d803 100644 --- a/src/include/taler_curl_lib.h +++ b/src/include/taler_curl_lib.h @@ -74,5 +74,4 @@ void TALER_curl_easy_post_finished (struct TEAH_PostContext *ctx); - #endif diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h index 0aeffd324..eb1452561 100644 --- a/src/include/taler_exchange_service.h +++ b/src/include/taler_exchange_service.h @@ -1681,7 +1681,6 @@ TALER_EXCHANGE_track_transaction_cancel (struct dwh); - /** * Convenience function. Verifies a coin's transaction history as * returned by the exchange. @@ -1777,5 +1776,4 @@ void TALER_EXCHANGE_payback_cancel (struct TALER_EXCHANGE_PaybackHandle *ph); - #endif /* _TALER_EXCHANGE_SERVICE_H */ diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index 90643d62e..0dcf4b841 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -2173,7 +2173,6 @@ struct TALER_EXCHANGEDB_Plugin struct TALER_EXCHANGEDB_Session *session); - /** * Store information about an outgoing wire transfer that was executed. * diff --git a/src/include/taler_fakebank_lib.h b/src/include/taler_fakebank_lib.h index 5e0d7d1d1..f3f92534d 100644 --- a/src/include/taler_fakebank_lib.h +++ b/src/include/taler_fakebank_lib.h @@ -81,7 +81,6 @@ TALER_FAKEBANK_make_transfer (struct TALER_FAKEBANK_Handle *h, const char *exchange_base_url); - /** * Check that the @a want_amount was transferred from the @a * want_debit to the @a want_credit account. If so, set the @a subject diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h index bc0ae214e..9fa98d8c0 100644 --- a/src/include/taler_signatures.h +++ b/src/include/taler_signatures.h @@ -956,7 +956,6 @@ struct TALER_MasterWireDetailsPS }; - /** * @brief Information signed by the exchange's master * key stating the wire fee to be paid per wire transfer. diff --git a/src/include/taler_testing_bank_lib.h b/src/include/taler_testing_bank_lib.h index 57a7c0f9b..27db9d599 100644 --- a/src/include/taler_testing_bank_lib.h +++ b/src/include/taler_testing_bank_lib.h @@ -199,4 +199,5 @@ struct TALER_TESTING_Command TALER_TESTING_cmd_bank_reject (const char *label, const char *bank_url, const char *deposit_reference); + #endif diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index 4f69a0d01..fc00dcc1e 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -388,8 +388,6 @@ struct TALER_TESTING_Interpreter }; - - /** * A command to be run by the interpreter. */ @@ -486,7 +484,6 @@ TALER_TESTING_interpreter_get_current_label (struct TALER_TESTING_Interpreter *is); - /** * Get connection handle to the fakebank. * @@ -1275,7 +1272,6 @@ TALER_TESTING_cmd_check_bank_transfer (const char *label, uint64_t credit_account); - /** * Define a "bank check" CMD that takes the input * data from another CMD that offers it. @@ -1585,7 +1581,6 @@ struct TALER_TESTING_Trait }; - /** * "end" trait. Because traits are offered into arrays, * this type of trait is used to mark the end of such arrays; @@ -2077,6 +2072,7 @@ TALER_TESTING_get_trait_peer_key (const struct TALER_TESTING_Command *cmd, unsigned int index, const struct GNUNET_CRYPTO_EddsaPrivateKey **priv); + // FIXME: private get_trait_merchant_priv instead, rather have // more traits with precise types than this! @@ -2094,6 +2090,7 @@ struct TALER_TESTING_Trait TALER_TESTING_make_trait_peer_key (unsigned int index, const struct GNUNET_CRYPTO_EddsaPrivateKey *priv); + // FIXME: private get_trait_merchant_priv instead, rather have // more traits with precise types than this! diff --git a/src/include/taler_util.h b/src/include/taler_util.h index c767a32e3..e1b42f134 100644 --- a/src/include/taler_util.h +++ b/src/include/taler_util.h @@ -193,7 +193,8 @@ TALER_buffer_write_fstr (struct TALER_Buffer *buf, const char *fmt, ...); * @param args format argument list */ void -TALER_buffer_write_vfstr (struct TALER_Buffer *buf, const char *fmt, va_list args); +TALER_buffer_write_vfstr (struct TALER_Buffer *buf, const char *fmt, va_list + args); /** @@ -360,10 +361,10 @@ TALER_url_absolute_raw (const char *proto, */ char * TALER_url_absolute_raw_va (const char *proto, - const char *host, - const char *prefix, - const char *path, - va_list args); + const char *host, + const char *prefix, + const char *path, + va_list args); /** -- cgit v1.2.3