diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-03-24 00:27:09 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-03-24 00:35:39 +0900 |
commit | 1beabe08d6bce21c7695c22312f74a67d14d992c (patch) | |
tree | 1916953afa7fa06ba1c62d1392ddcadb508ff2b8 /src/network | |
parent | 7bb55ed099f611ec7077db69684a6cb93d42dc70 (diff) | |
download | systemd-1beabe08d6bce21c7695c22312f74a67d14d992c.tar.gz |
network,udev: explicitly declare 'conditions' is a list
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/netdev/netdev.h | 2 | ||||
-rw-r--r-- | src/network/networkd-network.h | 2 |
2 files changed, 2 insertions, 2 deletions
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; |