diff options
author | Sven Eden <yamakuzure@gmx.net> | 2017-04-11 17:28:14 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-04-26 12:59:13 +0200 |
commit | 166f4e4fb53a82900ff9ae080e0ff37d35d4dacd (patch) | |
tree | 6b865d79a989e8b3574effac3b9460ea3cac7c22 /src/basic/syslog-util.c | |
parent | 68def6bc80ba50ed3b3658d00799a3ec295c4d7a (diff) |
Prep v228: Condense elogind source masks (3/5)
Diffstat (limited to 'src/basic/syslog-util.c')
-rw-r--r-- | src/basic/syslog-util.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/basic/syslog-util.c b/src/basic/syslog-util.c index 854401aa2..441b2259f 100644 --- a/src/basic/syslog-util.c +++ b/src/basic/syslog-util.c @@ -26,8 +26,7 @@ #include "string-table.h" #include "syslog-util.h" -/// UNNEEDED by elogind -#if 0 +#if 0 /// UNNEEDED by elogind int syslog_parse_priority(const char **p, int *priority, bool with_facility) { int a = 0, b = 0, c = 0; int k; @@ -96,8 +95,7 @@ static const char *const log_facility_unshifted_table[LOG_NFACILITIES] = { DEFINE_STRING_TABLE_LOOKUP_WITH_FALLBACK(log_facility_unshifted, int, LOG_FAC(~0)); -/// UNNEEDED by elogind -#if 0 +#if 0 /// UNNEEDED by elogind bool log_facility_unshifted_is_valid(int facility) { return facility >= 0 && facility <= LOG_FAC(~0); } @@ -116,8 +114,7 @@ static const char *const log_level_table[] = { DEFINE_STRING_TABLE_LOOKUP_WITH_FALLBACK(log_level, int, LOG_DEBUG); -/// UNNEEDED by elogind -#if 0 +#if 0 /// UNNEEDED by elogind bool log_level_is_valid(int level) { return level >= 0 && level <= LOG_DEBUG; } |