summaryrefslogtreecommitdiffstats
path: root/src/libsystemd-network
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/libsystemd-network
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/libsystemd-network')
-rw-r--r--src/libsystemd-network/network-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/network-common.c b/src/libsystemd-network/network-common.c
index b639e9ca5a..8a0abe8fe8 100644
--- a/src/libsystemd-network/network-common.c
+++ b/src/libsystemd-network/network-common.c
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#include "env-util.h"
-#include "format-util.h"
+#include "format-ifname.h"
#include "network-common.h"
#include "socket-util.h"
#include "unaligned.h"