summaryrefslogtreecommitdiffstats
path: root/src/resolve
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2024-09-12 17:39:33 +0200
committerLennart Poettering <lennart@poettering.net>2024-09-13 07:27:47 +0200
commit868258cf38fb081c7766989fb92a91d2b167147e (patch)
tree158b50120695a5541c383658d35a15cac5d36e32 /src/resolve
parentminor fixups for #32212 (diff)
downloadsystemd-868258cf38fb081c7766989fb92a91d2b167147e.tar.xz
systemd-868258cf38fb081c7766989fb92a91d2b167147e.zip
basic: split ifname related calls from format-util.h into format-ifname.h
This way we don't have to pull in net/if.h into format-util.h. This is supposed to address https://github.com/systemd/systemd/pull/32212#discussion_r1755639881 No actual code changes, just a .c/.h file split-up.
Diffstat (limited to 'src/resolve')
-rw-r--r--src/resolve/resolvectl.c2
-rw-r--r--src/resolve/resolved-dns-cache.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/resolve/resolvectl.c b/src/resolve/resolvectl.c
index 81b5a193f7..1fa62a4df7 100644
--- a/src/resolve/resolvectl.c
+++ b/src/resolve/resolvectl.c
@@ -20,8 +20,8 @@
#include "dns-domain.h"
#include "errno-list.h"
#include "escape.h"
+#include "format-ifname.h"
#include "format-table.h"
-#include "format-util.h"
#include "gcrypt-util.h"
#include "hostname-util.h"
#include "json-util.h"
diff --git a/src/resolve/resolved-dns-cache.c b/src/resolve/resolved-dns-cache.c
index f80f9dff8a..1310bd5f8b 100644
--- a/src/resolve/resolved-dns-cache.c
+++ b/src/resolve/resolved-dns-cache.c
@@ -5,7 +5,7 @@
#include "af-list.h"
#include "alloc-util.h"
#include "dns-domain.h"
-#include "format-util.h"
+#include "format-ifname.h"
#include "resolved-dns-answer.h"
#include "resolved-dns-cache.h"
#include "resolved-dns-packet.h"