From: Lennart Poettering Date: Thu, 26 Oct 2017 18:02:57 +0000 (+0200) Subject: core: drop config_parse_input() as it is unused X-Git-Tag: v236~181^2~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7fa0dcb6e3b45932fbbe8e9f3d7c437f366e6f5c;p=thirdparty%2Fsystemd.git core: drop config_parse_input() as it is unused --- diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c index 52a10dd24bc..e52f608db71 100644 --- a/src/core/load-fragment.c +++ b/src/core/load-fragment.c @@ -831,7 +831,6 @@ int config_parse_socket_bindtodevice( return 0; } -DEFINE_CONFIG_PARSE_ENUM(config_parse_input, exec_input, ExecInput, "Failed to parse input literal specifier"); DEFINE_CONFIG_PARSE_ENUM(config_parse_output, exec_output, ExecOutput, "Failed to parse output literal specifier"); int config_parse_exec_input(const char *unit, diff --git a/src/core/load-fragment.h b/src/core/load-fragment.h index fbf2de23eb4..58d335807bb 100644 --- a/src/core/load-fragment.h +++ b/src/core/load-fragment.h @@ -48,7 +48,6 @@ int config_parse_socket_bindtodevice(const char *unit, const char *filename, uns int config_parse_exec_output(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_output(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_exec_input(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_input(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_exec_io_class(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_exec_io_priority(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_exec_cpu_sched_policy(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);