diff options
Diffstat (limited to 'src/udev/net/link-config.h')
-rw-r--r-- | src/udev/net/link-config.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/udev/net/link-config.h b/src/udev/net/link-config.h index ca6c8ddabe..88e3651b7b 100644 --- a/src/udev/net/link-config.h +++ b/src/udev/net/link-config.h @@ -4,6 +4,7 @@ #include "sd-device.h" #include "condition.h" +#include "conf-parser.h" #include "ethtool-util.h" #include "list.h" #include "set.h" @@ -82,5 +83,5 @@ MACPolicy mac_policy_from_string(const char *p) _pure_; /* gperf lookup function */ const struct ConfigPerfItem* link_config_gperf_lookup(const char *key, GPERF_LEN_TYPE length); -int config_parse_mac_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); -int config_parse_name_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); +CONFIG_PARSER_PROTOTYPE(config_parse_mac_policy); +CONFIG_PARSER_PROTOTYPE(config_parse_name_policy); |