diff options
author | Simon Josefsson <simon@josefsson.org> | 2008-11-17 18:54:08 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2008-11-17 18:54:08 +0100 |
commit | 14815d8067cdc87b3e6c2fbf8ca20459e28577d3 (patch) | |
tree | 5d362edf0c321e7adad3a106ea4c82528505ab7e /lib/errors.c | |
parent | ca4aa9601739ac41bcba0baa7bec32970418cd89 (diff) | |
download | libtasn1-14815d8067cdc87b3e6c2fbf8ca20459e28577d3.tar.gz |
Fix warnings.
Diffstat (limited to 'lib/errors.c')
-rw-r--r-- | lib/errors.c | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/lib/errors.c b/lib/errors.c index c749df2..29e08dc 100644 --- a/lib/errors.c +++ b/lib/errors.c @@ -100,42 +100,3 @@ asn1_strerror (asn1_retCode error) return NULL; } - -#ifndef ASN1_DISABLE_DEPRECATED - -/* Compatibility mappings to preserve ABI. */ - -/** - * libtasn1_perror - prints a string to stderr with a description of an error - * @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. - * - * Deprecated: Use asn1_perror() instead. - **/ -void -libtasn1_perror (asn1_retCode error) -{ - asn1_perror (error); -} - -/** - * libtasn1_strerror - Returns a string with a description of an error - * @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: Pointer to static zero-terminated string describing error - * code. - * - * Deprecated: Use asn1_strerror() instead. - **/ -const char * -libtasn1_strerror (asn1_retCode error) -{ - return asn1_strerror (error); -} - -#endif |