From c6f7c917a1b494d4455800823472227463f87438 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Fri, 21 Mar 2014 21:38:14 +0100 Subject: libsystemd-network: move network-utils from src/shared This does not belong in shared as it is mostly a detail of our networking subsystem. Moreover, now we can use libudev here, which will simplify things. --- src/network/network-util.h | 1 + src/network/networkd-address.c | 2 +- src/network/networkd-link.c | 2 +- src/network/networkd-netdev-gperf.gperf | 2 +- src/network/networkd-netdev.c | 2 +- src/network/networkd-network-gperf.gperf | 2 +- src/network/networkd-network.c | 2 +- src/network/networkd-route.c | 2 +- 8 files changed, 8 insertions(+), 7 deletions(-) (limited to 'src/network') diff --git a/src/network/network-util.h b/src/network/network-util.h index 9979e6d906..139efc7677 100644 --- a/src/network/network-util.h +++ b/src/network/network-util.h @@ -22,6 +22,7 @@ ***/ #include "util.h" +#include "sd-network.h" DEFINE_TRIVIAL_CLEANUP_FUNC(sd_network_monitor*, sd_network_monitor_unref); diff --git a/src/network/networkd-address.c b/src/network/networkd-address.c index 414b3bccfa..dd4c822c67 100644 --- a/src/network/networkd-address.c +++ b/src/network/networkd-address.c @@ -26,7 +26,7 @@ #include "utf8.h" #include "util.h" #include "conf-parser.h" -#include "net-util.h" +#include "network-internal.h" int address_new_static(Network *network, unsigned section, Address **ret) { _cleanup_address_free_ Address *address = NULL; diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index 4044f0b5a5..aa59dd7cf4 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -26,7 +26,7 @@ #include "libudev-private.h" #include "util.h" #include "bus-util.h" -#include "net-util.h" +#include "network-internal.h" #include "dhcp-lease-internal.h" diff --git a/src/network/networkd-netdev-gperf.gperf b/src/network/networkd-netdev-gperf.gperf index 2793d77a79..ea7ba5734b 100644 --- a/src/network/networkd-netdev-gperf.gperf +++ b/src/network/networkd-netdev-gperf.gperf @@ -2,7 +2,7 @@ #include #include "conf-parser.h" #include "networkd.h" -#include "net-util.h" +#include "network-internal.h" %} struct ConfigPerfItem; %null_strings diff --git a/src/network/networkd-netdev.c b/src/network/networkd-netdev.c index 298bf277f3..3a670b3f0e 100644 --- a/src/network/networkd-netdev.c +++ b/src/network/networkd-netdev.c @@ -20,7 +20,7 @@ ***/ #include "networkd.h" -#include "net-util.h" +#include "network-internal.h" #include "path-util.h" #include "conf-files.h" #include "conf-parser.h" diff --git a/src/network/networkd-network-gperf.gperf b/src/network/networkd-network-gperf.gperf index 7e3829a4a1..6ba890ff9b 100644 --- a/src/network/networkd-network-gperf.gperf +++ b/src/network/networkd-network-gperf.gperf @@ -2,7 +2,7 @@ #include #include "conf-parser.h" #include "networkd.h" -#include "net-util.h" +#include "network-internal.h" %} struct ConfigPerfItem; %null_strings diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c index 6e9915b75d..776a9d3040 100644 --- a/src/network/networkd-network.c +++ b/src/network/networkd-network.c @@ -20,7 +20,7 @@ ***/ #include "networkd.h" -#include "net-util.h" +#include "network-internal.h" #include "path-util.h" #include "conf-files.h" #include "conf-parser.h" diff --git a/src/network/networkd-route.c b/src/network/networkd-route.c index 0cb7239ca0..8b020adba4 100644 --- a/src/network/networkd-route.c +++ b/src/network/networkd-route.c @@ -26,7 +26,7 @@ #include "utf8.h" #include "util.h" #include "conf-parser.h" -#include "net-util.h" +#include "network-internal.h" int route_new_static(Network *network, unsigned section, Route **ret) { _cleanup_route_free_ Route *route = NULL; -- cgit v1.2.3-54-g00ecf