]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network,udev: explicitly declare 'conditions' is a list
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 23 Mar 2019 15:27:09 +0000 (00:27 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 23 Mar 2019 15:35:39 +0000 (00:35 +0900)
src/network/netdev/netdev.h
src/network/networkd-network.h
src/udev/net/link-config.h

index 3c6990236fe130e09950cd634dd21b150ae9c794..ad4dd2e2b0d507d51067d0d48a4e9cfbe9502c5c 100644 (file)
@@ -81,7 +81,7 @@ typedef struct NetDev {
 
         char *filename;
 
-        Condition *conditions;
+        LIST_HEAD(Condition, conditions);
 
         NetDevState state;
         NetDevKind kind;
index 7211aee8c6886c81cfdd54fa45001d080ed29030..852144da3c0a0d9d0fbd1803bd59c953170b3dab 100644 (file)
@@ -97,7 +97,7 @@ struct Network {
         char **match_driver;
         char **match_type;
         char **match_name;
-        Condition *conditions;
+        LIST_HEAD(Condition, conditions);
 
         char *description;
 
index 5dfe5b59b887354d02d27ec21b57a50886258a8f..efe5f2ce3a9b6703556eeeb1daae7320f61b93b9 100644 (file)
@@ -40,7 +40,7 @@ struct link_config {
         char **match_driver;
         char **match_type;
         char **match_name;
-        Condition *conditions;
+        LIST_HEAD(Condition, conditions);
 
         char *description;
         struct ether_addr *mac;