summaryrefslogtreecommitdiff
path: root/lib/errors.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2010-02-17 12:57:49 +0100
committerSimon Josefsson <simon@josefsson.org>2010-02-17 12:57:49 +0100
commite257d63b41679ec3bf7938f6952b65605aaa2888 (patch)
tree5b0c83c9379a7b3a5d64dab175362c55b55652fb /lib/errors.c
parent6de4d57f97dca0114ff0b57df031a7fa4ccb2842 (diff)
downloadlibtasn1-e257d63b41679ec3bf7938f6952b65605aaa2888.tar.gz
libtasn1-e257d63b41679ec3bf7938f6952b65605aaa2888.tar.bz2
libtasn1-e257d63b41679ec3bf7938f6952b65605aaa2888.zip
More GTK-DOC comment fixes.
Diffstat (limited to 'lib/errors.c')
-rw-r--r--lib/errors.c24
1 files changed, 14 insertions, 10 deletions
diff --git a/lib/errors.c b/lib/errors.c
index b666939..052c64f 100644
--- a/lib/errors.c
+++ b/lib/errors.c
@@ -60,8 +60,9 @@ static const libtasn1_error_entry error_algorithms[] = {
* asn1_perror:
* @error: is an error returned by a libtasn1 function.
*
- * This function is like perror(). The only difference is that it
- * accepts an error returned by a libtasn1 function.
+ * Prints a string to stderr with a description of an error. This
+ * function is like perror(). The only difference is that it accepts
+ * an error returned by a libtasn1 function.
*
* This function replaces libtasn1_perror() in older libtasn1.
*
@@ -78,8 +79,9 @@ asn1_perror (asn1_retCode error)
* asn1_strerror:
* @error: is an error returned by a libtasn1 function.
*
- * This function is similar to strerror. The only difference is that
- * it accepts an error (number) returned by a libtasn1 function.
+ * Returns a string with a description of an error. This function is
+ * similar to strerror. The only difference is that it accepts an
+ * error (number) returned by a libtasn1 function.
*
* This function replaces libtasn1_strerror() in older libtasn1.
*
@@ -105,11 +107,12 @@ asn1_strerror (asn1_retCode error)
/* Compatibility mappings to preserve ABI. */
/**
- * libtasn1_perror - prints a string to stderr with a description of an error
+ * libtasn1_perror:
* @error: is an error returned by a libtasn1 function.
*
- * This function is like perror(). The only difference is that it
- * accepts an error returned by a libtasn1 function.
+ * Prints a string to stderr with a description of an error. This
+ * function is like perror(). The only difference is that it accepts
+ * an error returned by a libtasn1 function.
*
* Deprecated: Use asn1_perror() instead.
**/
@@ -120,11 +123,12 @@ libtasn1_perror (asn1_retCode error)
}
/**
- * libtasn1_strerror - Returns a string with a description of an error
+ * libtasn1_strerror:
* @error: is an error returned by a libtasn1 function.
*
- * This function is similar to strerror. The only difference is that
- * it accepts an error (number) returned by a libtasn1 function.
+ * Returns a string with a description of an error. This function is
+ * similar to strerror. The only difference is that it accepts an
+ * error (number) returned by a libtasn1 function.
*
* Returns: Pointer to static zero-terminated string describing error
* code.