]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
dhcp: cleanup headers included by dhcp-identifier.h
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 14 Nov 2023 09:08:27 +0000 (18:08 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 22 Dec 2023 19:15:09 +0000 (04:15 +0900)
src/libsystemd-network/dhcp-identifier.c
src/libsystemd-network/dhcp-identifier.h
src/libsystemd-network/sd-dhcp6-lease.c
src/libsystemd-network/test-dhcp6-client.c
src/network/netdev/macsec.c

index f65cdbecde5e222e997dd53953f5a7a4fdb75609..09bab592dcd0f592c16e10cfe610cbfac3fddce6 100644 (file)
@@ -8,8 +8,8 @@
 #include "netif-util.h"
 #include "network-common.h"
 #include "siphash24.h"
-#include "sparse-endian.h"
 #include "string-table.h"
+#include "unaligned.h"
 
 #define HASH_KEY       SD_ID128_MAKE(80,11,8c,c2,fe,4a,03,ee,3e,d6,0c,6f,36,39,14,09)
 #define APPLICATION_ID SD_ID128_MAKE(a5,0a,d1,12,bf,60,45,77,a2,fb,74,1a,b1,95,5b,03)
index 96db5884e51069617b9b44bfdbe1ab08e4b534eb..cc1a2008a0df492e6088e917e650ea16be5cef5a 100644 (file)
@@ -8,7 +8,6 @@
 #include "macro.h"
 #include "sparse-endian.h"
 #include "time-util.h"
-#include "unaligned.h"
 
 #define SYSTEMD_PEN    43793
 
index 674248b83da258b74860c6a8e71e25fdc8067694..a7180ea585dda174c75a8e5de53259cc73b4059d 100644 (file)
@@ -10,6 +10,7 @@
 #include "dhcp6-lease-internal.h"
 #include "network-common.h"
 #include "strv.h"
+#include "unaligned.h"
 
 #define IRT_DEFAULT (1 * USEC_PER_DAY)
 #define IRT_MINIMUM (600 * USEC_PER_SEC)
index ae3cdb86320185624829cb840830359411bd876e..c9539050b9a9b29f8bbf0632e937fe16fa0404e6 100644 (file)
@@ -25,6 +25,7 @@
 #include "strv.h"
 #include "tests.h"
 #include "time-util.h"
+#include "unaligned.h"
 
 #define DHCP6_CLIENT_EVENT_TEST_ADVERTISED 77
 #define IA_ID_BYTES                                                     \
index 17d6acefb6662f3a8b0b5daeb6cdd0f60180e583..877898c06d468d470a4c0754d946c9940a56c332 100644 (file)
@@ -18,6 +18,7 @@
 #include "socket-util.h"
 #include "string-table.h"
 #include "string-util.h"
+#include "unaligned.h"
 
 static void security_association_clear(SecurityAssociation *sa) {
         if (!sa)