diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-03-03 21:14:07 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-03-03 21:14:07 +0100 |
commit | ca37242e52cbf90d6cdb3b26b2986b11ed1d5e91 (patch) | |
tree | faadf41725fbb04a0e9e704ae2d6718377cc6e94 /src/shared/conf-parser.c | |
parent | e361df9e75b697930e6a94a08a1e0fa6deeb670b (diff) |
conf-parse: rename config_parse_level() to config_parse_log_level()
"level" is a bit too generic, let's clarify what kind of level we are
referring to here.
Diffstat (limited to 'src/shared/conf-parser.c')
-rw-r--r-- | src/shared/conf-parser.c | 42 |
1 files changed, 22 insertions, 20 deletions
diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c index cfa669b113..f39a4cd1fd 100644 --- a/src/shared/conf-parser.c +++ b/src/shared/conf-parser.c @@ -834,16 +834,17 @@ int config_parse_mode(const char *unit, return 0; } -int config_parse_facility(const char *unit, - const char *filename, - unsigned line, - const char *section, - unsigned section_line, - const char *lvalue, - int ltype, - const char *rvalue, - void *data, - void *userdata) { +int config_parse_log_facility( + const char *unit, + const char *filename, + unsigned line, + const char *section, + unsigned section_line, + const char *lvalue, + int ltype, + const char *rvalue, + void *data, + void *userdata) { int *o = data, x; @@ -865,16 +866,17 @@ int config_parse_facility(const char *unit, return 0; } -int config_parse_level(const char *unit, - const char *filename, - unsigned line, - const char *section, - unsigned section_line, - const char *lvalue, - int ltype, - const char *rvalue, - void *data, - void *userdata) { +int config_parse_log_level( + const char *unit, + const char *filename, + unsigned line, + const char *section, + unsigned section_line, + const char *lvalue, + int ltype, + const char *rvalue, + void *data, + void *userdata) { int *o = data, x; |