From 1beabe08d6bce21c7695c22312f74a67d14d992c Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sun, 24 Mar 2019 00:27:09 +0900 Subject: network,udev: explicitly declare 'conditions' is a list --- src/network/netdev/netdev.h | 2 +- src/network/networkd-network.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/network') diff --git a/src/network/netdev/netdev.h b/src/network/netdev/netdev.h index 3c6990236f..ad4dd2e2b0 100644 --- a/src/network/netdev/netdev.h +++ b/src/network/netdev/netdev.h @@ -81,7 +81,7 @@ typedef struct NetDev { char *filename; - Condition *conditions; + LIST_HEAD(Condition, conditions); NetDevState state; NetDevKind kind; diff --git a/src/network/networkd-network.h b/src/network/networkd-network.h index 7211aee8c6..852144da3c 100644 --- a/src/network/networkd-network.h +++ b/src/network/networkd-network.h @@ -97,7 +97,7 @@ struct Network { char **match_driver; char **match_type; char **match_name; - Condition *conditions; + LIST_HEAD(Condition, conditions); char *description; -- cgit v1.2.1