]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core/service: use LIST_HEAD where appropriate
authorMike Yuan <me@yhndnzj.com>
Tue, 8 Oct 2024 13:05:03 +0000 (15:05 +0200)
committerMike Yuan <me@yhndnzj.com>
Fri, 11 Oct 2024 16:21:09 +0000 (18:21 +0200)
src/core/service.h

index 97c217209e2c4dd50e85292d240fb9a263ae3aa7..504595b0289e1cd78e97196c2f390f06c1da2587 100644 (file)
@@ -223,7 +223,7 @@ struct Service {
 
         sd_event_source *exec_fd_event_source;
 
-        ServiceFDStore *fd_store;
+        LIST_HEAD(ServiceFDStore, fd_store);
         size_t n_fd_store;
         unsigned n_fd_store_max;
         ExecPreserveMode fd_store_preserve_mode;