From 7fa0dcb6e3b45932fbbe8e9f3d7c437f366e6f5c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 26 Oct 2017 20:02:57 +0200 Subject: [PATCH] core: drop config_parse_input() as it is unused --- src/core/load-fragment.c | 1 - src/core/load-fragment.h | 1 - 2 files changed, 2 deletions(-) diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c index 52a10dd24b..e52f608db7 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 fbf2de23eb..58d335807b 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); -- 2.25.1