Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Unified Diff: srtp/crypto/kernel/err.c

Issue 889083003: Update libsrtp to upstream 1.5.0 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libsrtp@master
Patch Set: Updated to libsrtp 1.5.1 Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « srtp/crypto/kernel/crypto_kernel.c ('k') | srtp/crypto/kernel/key.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: srtp/crypto/kernel/err.c
diff --git a/srtp/crypto/kernel/err.c b/srtp/crypto/kernel/err.c
index 4a3a8589e990ab491ea2530db79c94e24da4a82c..fcd9078443b6a130c37f029332cc0a9262c5a33b 100644
--- a/srtp/crypto/kernel/err.c
+++ b/srtp/crypto/kernel/err.c
@@ -42,6 +42,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+ #include <config.h>
+#endif
+
#include "err.h"
#ifdef ERR_REPORTING_SYSLOG
@@ -57,7 +61,7 @@ err_reporting_level_t err_level = err_level_none;
#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 @@ err_reporting_init(char *ident) {
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 @@ err_reporting_init(char *ident) {
}
void
-err_report(int priority, char *format, ...) {
+err_report(int priority, const char *format, ...) {
va_list args;
if (priority <= err_level) {
« no previous file with comments | « srtp/crypto/kernel/crypto_kernel.c ('k') | srtp/crypto/kernel/key.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698