summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-03-24 00:27:09 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-03-24 00:35:39 +0900
commit1beabe08d6bce21c7695c22312f74a67d14d992c (patch)
tree1916953afa7fa06ba1c62d1392ddcadb508ff2b8 /src/network
parent7bb55ed099f611ec7077db69684a6cb93d42dc70 (diff)
downloadsystemd-1beabe08d6bce21c7695c22312f74a67d14d992c.tar.gz
network,udev: explicitly declare 'conditions' is a list
Diffstat (limited to 'src/network')
-rw-r--r--src/network/netdev/netdev.h2
-rw-r--r--src/network/networkd-network.h2
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;