summaryrefslogtreecommitdiff
path: root/src/core/load-fragment.h
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2018-03-18 06:28:14 -0700
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-03-18 14:28:14 +0100
commit1e35c5ab27f3a3cf6ae037c62fc1576c4798b576 (patch)
tree008dcf310ba7d6174975a4f4675117c16bd79c2f /src/core/load-fragment.h
parent6f1ea95493c00d2cf252e20ef85a1d531398a683 (diff)
downloadsystemd-1e35c5ab27f3a3cf6ae037c62fc1576c4798b576.tar.gz
systemd-link: Remove UDP Fragmentation Offload support. (#8183)
Support was killed in kernel 4.15 as well as ethtool 4.13. Justification was lack of use by drivers and too much of a maintenance burden. https://www.spinics.net/lists/netdev/msg443815.html Also moved config_parse_warn_compat to conf-parser.[ch] to fix compile errors.
Diffstat (limited to 'src/core/load-fragment.h')
-rw-r--r--src/core/load-fragment.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/core/load-fragment.h b/src/core/load-fragment.h
index 163b5ce485..ac0bea8220 100644
--- a/src/core/load-fragment.h
+++ b/src/core/load-fragment.h
@@ -28,7 +28,6 @@ int unit_load_fragment(Unit *u);
void unit_dump_config_items(FILE *f);
-int config_parse_warn_compat(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_unit_deps(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_obsolete_unit_deps(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_unit_string_printf(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);
@@ -129,9 +128,3 @@ int config_parse_collect_mode(const char *unit, const char *filename, unsigned l
/* gperf prototypes */
const struct ConfigPerfItem* load_fragment_gperf_lookup(const char *key, GPERF_LEN_TYPE length);
extern const char load_fragment_gperf_nulstr[];
-
-typedef enum Disabled {
- DISABLED_CONFIGURATION,
- DISABLED_LEGACY,
- DISABLED_EXPERIMENTAL,
-} Disabled;