X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flibsystemd-network%2Fnetwork-internal.h;fp=src%2Flibsystemd-network%2Fnetwork-internal.h;h=49387d03cf379bee8ca138940b6fde69df59cfa5;hb=44e7b9492617408130d11ffa451c2660942974f6;hp=6dd518bb48127486d899131de08ca1d662db21aa;hpb=cedc8c44d43c8b6689ae5f5ebe1aabb7ad9755ba;p=elogind.git diff --git a/src/libsystemd-network/network-internal.h b/src/libsystemd-network/network-internal.h index 6dd518bb4..49387d03c 100644 --- a/src/libsystemd-network/network-internal.h +++ b/src/libsystemd-network/network-internal.h @@ -1,5 +1,7 @@ /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ +#pragma once + /*** This file is part of systemd. @@ -19,8 +21,6 @@ along with systemd; If not, see . ***/ -#pragma once - #include #include #include @@ -44,8 +44,6 @@ bool net_match_config(const struct ether_addr *match_mac, const char *dev_type, const char *dev_name); -unsigned net_netmask_to_prefixlen(const struct in_addr *netmask); - int config_parse_net_condition(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); @@ -62,8 +60,6 @@ int config_parse_ifalias(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 net_parse_inaddr(const char *address, int *family, void *dst); - int net_get_unique_predictable_data(struct udev_device *device, uint8_t result[8]); const char *net_get_name(struct udev_device *device);