diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-11-06 16:54:32 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-11-08 18:21:10 +0100 |
commit | 3ae6b3bf723addaa8263292e19ed4c496b947a9c (patch) | |
tree | d373632cf5ad8bc04be974f09d272c3de3843566 /src/libsystemd-network | |
parent | ee617a4e5ca5828cabd46f3bb1d9ffc0dd3db9e5 (diff) | |
download | systemd-3ae6b3bf723addaa8263292e19ed4c496b947a9c.tar.gz |
basic: rename util.h to logarithm.h
util.h is now about logarithms only, so we can rename it. Many files included
util.h for no apparent reason… Those includes are dropped.
Diffstat (limited to 'src/libsystemd-network')
-rw-r--r-- | src/libsystemd-network/arp-util.c | 1 | ||||
-rw-r--r-- | src/libsystemd-network/dhcp-lease-internal.h | 1 | ||||
-rw-r--r-- | src/libsystemd-network/sd-ipv4ll.c | 1 | ||||
-rw-r--r-- | src/libsystemd-network/test-acd.c | 1 | ||||
-rw-r--r-- | src/libsystemd-network/test-dhcp-client.c | 1 | ||||
-rw-r--r-- | src/libsystemd-network/test-ipv4ll-manual.c | 1 | ||||
-rw-r--r-- | src/libsystemd-network/test-ipv4ll.c | 1 |
7 files changed, 0 insertions, 7 deletions
diff --git a/src/libsystemd-network/arp-util.c b/src/libsystemd-network/arp-util.c index 99a5f69b70..eec794a653 100644 --- a/src/libsystemd-network/arp-util.c +++ b/src/libsystemd-network/arp-util.c @@ -12,7 +12,6 @@ #include "fd-util.h" #include "in-addr-util.h" #include "unaligned.h" -#include "util.h" int arp_update_filter(int fd, const struct in_addr *a, const struct ether_addr *mac) { struct sock_filter filter[] = { diff --git a/src/libsystemd-network/dhcp-lease-internal.h b/src/libsystemd-network/dhcp-lease-internal.h index c67e9511a1..a660e52201 100644 --- a/src/libsystemd-network/dhcp-lease-internal.h +++ b/src/libsystemd-network/dhcp-lease-internal.h @@ -10,7 +10,6 @@ #include "dhcp-internal.h" #include "dhcp-protocol.h" #include "list.h" -#include "util.h" struct sd_dhcp_route { struct in_addr dst_addr; diff --git a/src/libsystemd-network/sd-ipv4ll.c b/src/libsystemd-network/sd-ipv4ll.c index 4b0fac3cf1..a29279e6af 100644 --- a/src/libsystemd-network/sd-ipv4ll.c +++ b/src/libsystemd-network/sd-ipv4ll.c @@ -20,7 +20,6 @@ #include "siphash24.h" #include "sparse-endian.h" #include "string-util.h" -#include "util.h" #define IPV4LL_NETWORK UINT32_C(0xA9FE0000) #define IPV4LL_NETMASK UINT32_C(0xFFFF0000) diff --git a/src/libsystemd-network/test-acd.c b/src/libsystemd-network/test-acd.c index 73105f5a04..4b5ad70cf1 100644 --- a/src/libsystemd-network/test-acd.c +++ b/src/libsystemd-network/test-acd.c @@ -13,7 +13,6 @@ #include "in-addr-util.h" #include "tests.h" -#include "util.h" static void acd_handler(sd_ipv4acd *acd, int event, void *userdata) { assert_se(acd); diff --git a/src/libsystemd-network/test-dhcp-client.c b/src/libsystemd-network/test-dhcp-client.c index 0f3a68e990..92b9b5b9bc 100644 --- a/src/libsystemd-network/test-dhcp-client.c +++ b/src/libsystemd-network/test-dhcp-client.c @@ -21,7 +21,6 @@ #include "fd-util.h" #include "random-util.h" #include "tests.h" -#include "util.h" static struct hw_addr_data hw_addr = { .length = ETH_ALEN, diff --git a/src/libsystemd-network/test-ipv4ll-manual.c b/src/libsystemd-network/test-ipv4ll-manual.c index 5453ef93a4..5dc6b10347 100644 --- a/src/libsystemd-network/test-ipv4ll-manual.c +++ b/src/libsystemd-network/test-ipv4ll-manual.c @@ -15,7 +15,6 @@ #include "parse-util.h" #include "string-util.h" #include "tests.h" -#include "util.h" static void ll_handler(sd_ipv4ll *ll, int event, void *userdata) { assert_se(ll); diff --git a/src/libsystemd-network/test-ipv4ll.c b/src/libsystemd-network/test-ipv4ll.c index 2a078a502e..bb42930cf5 100644 --- a/src/libsystemd-network/test-ipv4ll.c +++ b/src/libsystemd-network/test-ipv4ll.c @@ -16,7 +16,6 @@ #include "fd-util.h" #include "socket-util.h" #include "tests.h" -#include "util.h" static bool verbose = false; static bool extended = false; |