From 9317d6d69da2046d1a0cfbe1ea4b377924cc1c90 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 18 Jan 2020 13:23:10 +0100 Subject: doxygen work --- src/util/amount.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/util/amount.c') 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); -- cgit v1.2.3