Renamed error_strerror() to the less conflicting polarssl_strerror()
Ability to keep old function error_strerror() as well with
POLARSSL_ERROR_STRERROR_BC. Also works with
POLARSSL_ERROR_STRERROR_DUMMY.
diff --git a/include/polarssl/error.h b/include/polarssl/error.h
index 0c3fb80..7658814 100644
--- a/include/polarssl/error.h
+++ b/include/polarssl/error.h
@@ -103,7 +103,11 @@
* \param buffer buffer to place representation in
* \param buflen length of the buffer
*/
+void polarssl_strerror( int errnum, char *buffer, size_t buflen );
+
+#if defined(POLARSSL_ERROR_STRERROR_BC)
void error_strerror( int errnum, char *buffer, size_t buflen );
+#endif
#ifdef __cplusplus
}