Index: srtp/crypto/kernel/err.c |
=================================================================== |
--- srtp/crypto/kernel/err.c (revision 294174) |
+++ srtp/crypto/kernel/err.c (working copy) |
@@ -42,6 +42,10 @@ |
* |
*/ |
+#ifdef HAVE_CONFIG_H |
+ #include <config.h> |
+#endif |
+ |
#include "err.h" |
#ifdef ERR_REPORTING_SYSLOG |
@@ -57,7 +61,7 @@ |
#ifdef SRTP_KERNEL_LINUX |
err_status_t |
-err_reporting_init(char *ident) { |
+err_reporting_init(const char *ident) { |
return err_status_ok; |
} |
@@ -69,7 +73,7 @@ |
static FILE *err_file = NULL; |
err_status_t |
-err_reporting_init(char *ident) { |
+err_reporting_init(const char *ident) { |
#ifdef ERR_REPORTING_SYSLOG |
openlog(ident, LOG_PID, LOG_AUTHPRIV); |
#endif |
@@ -92,7 +96,7 @@ |
} |
void |
-err_report(int priority, char *format, ...) { |
+err_report(int priority, const char *format, ...) { |
va_list args; |
if (priority <= err_level) { |