diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-04-21 17:26:04 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-04-21 17:43:55 +0200 |
commit | 158350e86923cb1d878d3bf7d928fb1c30a3da76 (patch) | |
tree | 3731231a28497ade4ef8605f893136563bccd3cf /src/shared/conf-parser.h | |
parent | 200c7fa6fea5aea301e5b091338c5dc1f88f759c (diff) |
log: move log_syntax() into src/shared/log.c, and make it more similar to the other log functions
Diffstat (limited to 'src/shared/conf-parser.h')
-rw-r--r-- | src/shared/conf-parser.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/shared/conf-parser.h b/src/shared/conf-parser.h index 7a2f855f9f..6152ee33b9 100644 --- a/src/shared/conf-parser.h +++ b/src/shared/conf-parser.h @@ -119,23 +119,6 @@ int config_parse_mode(const char *unit, const char *filename, unsigned line, con 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 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 log_syntax_internal( - const char *unit, - int level, - const char *file, - int line, - const char *func, - const char *config_file, - unsigned config_line, - int error, - const char *format, ...) _printf_(9, 10); - -#define log_syntax(unit, level, config_file, config_line, error, ...) \ - log_syntax_internal(unit, level, \ - __FILE__, __LINE__, __func__, \ - config_file, config_line, \ - error, __VA_ARGS__) - #define log_invalid_utf8(unit, level, config_file, config_line, error, rvalue) \ do { \ _cleanup_free_ char *_p = utf8_escape_invalid(rvalue); \ |