aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/amount.c2
-rw-r--r--src/util/crypto.c2
-rw-r--r--src/util/json.c9
-rw-r--r--src/util/os_installation.c2
-rw-r--r--src/util/util.c3
5 files changed, 10 insertions, 8 deletions
diff --git a/src/util/amount.c b/src/util/amount.c
index c13c9101e..fcf12692f 100644
--- a/src/util/amount.c
+++ b/src/util/amount.c
@@ -173,7 +173,7 @@ TALER_amount_hton (struct TALER_AmountNBO *res,
* Convert amount from network to host representation.
*
* @param res where to store amount in host representation
- * @param d amount in network representation
+ * @param dn amount in network representation
*/
void
TALER_amount_ntoh (struct TALER_Amount *res,
diff --git a/src/util/crypto.c b/src/util/crypto.c
index eca4e407a..e2c298da5 100644
--- a/src/util/crypto.c
+++ b/src/util/crypto.c
@@ -154,7 +154,7 @@ TALER_transfer_decrypt (const struct TALER_EncryptedLinkSecretP *secret_enc,
*
* @param secret shared secret for refresh link decryption
* @param trans_sec transfer secret
- * @param secret_enc[out] encrypted secret
+ * @param[out] secret_enc encrypted secret
* @return #GNUNET_OK on success
*/
int
diff --git a/src/util/json.c b/src/util/json.c
index d3496c42c..c462597a1 100644
--- a/src/util/json.c
+++ b/src/util/json.c
@@ -75,7 +75,7 @@ TALER_json_from_amount (const struct TALER_Amount *amount)
/**
* Convert absolute timestamp to a json string.
*
- * @param the time stamp
+ * @param stamp the time stamp
* @return a json string with the timestamp in @a stamp
*/
json_t *
@@ -214,7 +214,8 @@ TALER_json_from_rsa_signature (struct GNUNET_CRYPTO_rsa_Signature *sig)
* @return json string that encodes @a data
*/
json_t *
-TALER_json_from_data (const void *data, size_t size)
+TALER_json_from_data (const void *data,
+ size_t size)
{
char *buf;
json_t *json;
@@ -244,7 +245,7 @@ TALER_json_from_hash (const struct GNUNET_HashCode *hc)
* Parse given JSON object to Amount
*
* @param json the json object representing Amount
- * @param r_amount where the amount has to be written
+ * @param[out] r_amount where the amount has to be written
* @return #GNUNET_OK upon successful parsing; #GNUNET_SYSERR upon error
*/
int
@@ -275,7 +276,7 @@ TALER_json_to_amount (json_t *json,
* Parse given JSON object to Amount
*
* @param json the json object representing Amount
- * @param r_amount where the amount has to be written
+ * @param[out] abs where the amount has to be written
* @return #GNUNET_OK upon successful parsing; #GNUNET_SYSERR upon error
*/
int
diff --git a/src/util/os_installation.c b/src/util/os_installation.c
index 5abd64493..ad89f4e58 100644
--- a/src/util/os_installation.c
+++ b/src/util/os_installation.c
@@ -449,7 +449,7 @@ os_get_exec_path ()
/**
* @brief get the path to a specific Taler installation directory or,
- * with #TALER_OS_IPK_SELF_PREFIX, the current running apps installation directory
+ * with #GNUNET_OS_IPK_SELF_PREFIX, the current running apps installation directory
* @author Milan
* @return a pointer to the dir path (to be freed by the caller)
*/
diff --git a/src/util/util.c b/src/util/util.c
index 5c1e5eb9a..972386357 100644
--- a/src/util/util.c
+++ b/src/util/util.c
@@ -32,9 +32,10 @@
/**
* Obtain denomination amount from configuration file.
*
+ * @param cfg configuration to use
* @param section section of the configuration to access
* @param option option of the configuration to access
- * @param denom[OUT] set to the amount found in configuration
+ * @param[out] denom set to the amount found in configuration
* @return #GNUNET_OK on success, #GNUNET_SYSERR on error
*/
int