summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-18 13:23:10 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-18 13:23:17 +0100
commit9317d6d69da2046d1a0cfbe1ea4b377924cc1c90 (patch)
tree5a64d0b187df3077077ca1a1c19b2a9db6483ea1 /src/util
parentdac255329f4f385d3ccfb544e259d2fae76325df (diff)
downloadexchange-9317d6d69da2046d1a0cfbe1ea4b377924cc1c90.tar.gz
exchange-9317d6d69da2046d1a0cfbe1ea4b377924cc1c90.tar.bz2
exchange-9317d6d69da2046d1a0cfbe1ea4b377924cc1c90.zip
doxygen work
Diffstat (limited to 'src/util')
-rw-r--r--src/util/amount.c8
-rw-r--r--src/util/crypto_wire.c6
2 files changed, 6 insertions, 8 deletions
diff --git a/src/util/amount.c b/src/util/amount.c
index 1f00b1d6..c432caee 100644
--- a/src/util/amount.c
+++ b/src/util/amount.c
@@ -539,20 +539,18 @@ TALER_amount_normalize (struct TALER_Amount *amount)
/**
- * Convert the fraction of @a amount to a string
- * in decimals.
+ * Convert the fraction of @a amount to a string in decimals.
*
* @param amount value to convert
- * @param tail[out] where to write the reesult
+ * @param[out] tail where to write the reesult
*/
static void
amount_to_tail (const struct TALER_Amount *amount,
char tail[TALER_AMOUNT_FRAC_LEN + 1])
{
uint32_t n = amount->fraction;
- unsigned int i;
- for (i = 0; (i < TALER_AMOUNT_FRAC_LEN) && (0 != n); i++)
+ for (unsigned int i = 0; (i < TALER_AMOUNT_FRAC_LEN) && (0 != n); i++)
{
tail[i] = '0' + (n / (TALER_AMOUNT_FRAC_BASE / 10));
n = (n * 10) % (TALER_AMOUNT_FRAC_BASE);
diff --git a/src/util/crypto_wire.c b/src/util/crypto_wire.c
index de7e5b99..e3a5b9fb 100644
--- a/src/util/crypto_wire.c
+++ b/src/util/crypto_wire.c
@@ -78,7 +78,7 @@ TALER_exchange_wire_signature_check (const char *payto_url,
*
* @param payto_url account specification
* @param master_priv private key to sign with
- * @param master_sig[out] where to write the signature
+ * @param[out] master_sig where to write the signature
*/
void
TALER_exchange_wire_signature_make (const char *payto_url,
@@ -105,7 +105,7 @@ TALER_exchange_wire_signature_make (const char *payto_url,
*
* @param payto_url bank account
* @param salt salt used to eliminate brute-force inversion
- * @param hc[out] set to the hash
+ * @param[out] hc set to the hash
*/
void
TALER_merchant_wire_signature_hash (const char *payto_url,
@@ -162,7 +162,7 @@ TALER_merchant_wire_signature_check (const char *payto_url,
* @param payto_url account specification
* @param salt the salt used to salt the @a payto_url when hashing
* @param merchant_priv private key to sign with
- * @param merchant_sig[out] where to write the signature
+ * @param[out] merchant_sig where to write the signature
*/
void
TALER_merchant_wire_signature_make (const char *payto_url,