network: Clean up includes

Split out of #37344.
This commit is contained in:
Daan De Meyer
2025-05-22 02:15:43 +09:00
committed by Yu Watanabe
parent f712008289
commit baa3fadfb7
243 changed files with 706 additions and 920 deletions
+1 -8
View File
@@ -1,15 +1,11 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
#include "sd-netlink.h"
#include "conf-parser.h"
#include "ether-addr-util.h"
#include "hash-funcs.h"
#include "list.h"
#include "log-link.h"
#include "netdev-util.h"
#include "time-util.h"
#include "networkd-forward.h"
/* Special hardware address value to suppress generating persistent hardware address for the netdev. */
#define HW_ADDR_NONE ((struct hw_addr_data) { .length = 1, })
@@ -109,9 +105,6 @@ typedef enum NetDevCreateType {
_NETDEV_CREATE_INVALID = -EINVAL,
} NetDevCreateType;
typedef struct Manager Manager;
typedef struct Condition Condition;
typedef struct NetDev {
Manager *manager;