aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz Schulte <[email protected]>2003-06-02 15:03:35 +0000
committerMoritz Schulte <[email protected]>2003-06-02 15:03:35 +0000
commit2868fa947f56ce313ce2f641a2cf0554ab8b76f5 (patch)
treeaa56ada336750220461fc29bfbe1a399e5efa204
parent*** empty log message *** (diff)
downloadlibgpg-error-2868fa947f56ce313ce2f641a2cf0554ab8b76f5.tar.gz
libgpg-error-2868fa947f56ce313ce2f641a2cf0554ab8b76f5.zip
2003-06-02 Moritz Schulte <[email protected]>
* src/gpg-error.h: Fix description of gpg_err_code_to_errno (i.e. substitute `ERR' with `CODE'). * src/code-to-errno.c: Likewise.
-rw-r--r--src/code-to-errno.c4
-rw-r--r--src/gpg-error.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/code-to-errno.c b/src/code-to-errno.c
index b8253c7..1a91445 100644
--- a/src/code-to-errno.c
+++ b/src/code-to-errno.c
@@ -26,8 +26,8 @@
#include "code-to-errno.h"
-/* Retrieve the system error for the error code ERR. This returns 0
- if ERR is not a system error code. */
+/* Retrieve the system error for the error code CODE. This returns 0
+ if CODE is not a system error code. */
int
gpg_err_code_to_errno (gpg_err_code_t code)
{
diff --git a/src/gpg-error.h b/src/gpg-error.h
index c9e1677..f2f07f2 100644
--- a/src/gpg-error.h
+++ b/src/gpg-error.h
@@ -443,8 +443,8 @@ const char *gpg_strsource (gpg_error_t err);
this). */
gpg_err_code_t gpg_err_code_from_errno (int err);
-/* Retrieve the system error for the error code ERR. This returns 0
- if ERR is not a system error code. */
+/* Retrieve the system error for the error code CODE. This returns 0
+ if CODE is not a system error code. */
int gpg_err_code_to_errno (gpg_err_code_t code);
#endif /* GPG_ERROR_H */