diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2011-11-20 08:59:36 +0100 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2011-11-20 08:59:36 +0100 |
commit | e45e699199c7f1f1fd79278af16d62efc76b097f (patch) | |
tree | f7782f10e0b10f3796d1be7b0b40102122787ce5 /src | |
parent | 31d3de943cafc7cb72fd3e489fce40fc0e659f66 (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.c | 2 |
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; |