diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-06-12 13:03:19 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-06-12 23:55:26 +0900 |
commit | dcf557f7b04a3c5202ddbafca06311a12442fd4c (patch) | |
tree | 8f5b42f34cca3690d140ca68052f17d19298d420 /src/libudev/libudev-device-internal.h | |
parent | 337405d4394e4812335920e58603427799d58217 (diff) | |
download | systemd-dcf557f7b04a3c5202ddbafca06311a12442fd4c.tar.gz |
libudev: hide definition of struct udev_list from other libudev components
In the later commit, udev_list will be just a wrapper of hashmap or LIST.
So, allocating udev_list does not increase much cost.
Diffstat (limited to 'src/libudev/libudev-device-internal.h')
-rw-r--r-- | src/libudev/libudev-device-internal.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libudev/libudev-device-internal.h b/src/libudev/libudev-device-internal.h index 8a6e5a48f6..2be49c9892 100644 --- a/src/libudev/libudev-device-internal.h +++ b/src/libudev/libudev-device-internal.h @@ -23,16 +23,16 @@ struct udev_device { struct udev_device *parent; bool parent_set; - struct udev_list properties; + struct udev_list *properties; uint64_t properties_generation; - struct udev_list tags; + struct udev_list *tags; uint64_t tags_generation; - struct udev_list devlinks; + struct udev_list *devlinks; uint64_t devlinks_generation; bool properties_read:1; bool tags_read:1; bool devlinks_read:1; - struct udev_list sysattrs; + struct udev_list *sysattrs; bool sysattrs_read; }; |