summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2011-11-20 08:59:36 +0100
committerSylvain Munaut <tnt@246tNt.com>2011-11-20 08:59:36 +0100
commite45e699199c7f1f1fd79278af16d62efc76b097f (patch)
treef7782f10e0b10f3796d1be7b0b40102122787ce5 /src
parent31d3de943cafc7cb72fd3e489fce40fc0e659f66 (diff)
core/logging: Remove const qualifier on return of logp2syslog_level
This generates a warning because it doesn't "mean" anything. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src')
-rw-r--r--src/logging_syslog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logging_syslog.c b/src/logging_syslog.c
index b07b7fe6..119dd740 100644
--- a/src/logging_syslog.c
+++ b/src/logging_syslog.c
@@ -43,7 +43,7 @@
#include <osmocom/core/utils.h>
#include <osmocom/core/logging.h>
-static const int logp2syslog_level(unsigned int level)
+static int logp2syslog_level(unsigned int level)
{
if (level >= LOGL_FATAL)
return LOG_CRIT;