]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/load-fragment.c
load-fragment: simplify list insertion logic 7695/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 23 Dec 2017 10:16:49 +0000 (19:16 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 23 Dec 2017 10:32:46 +0000 (19:32 +0900)
commit533f8a677113b8532bcda422f881709f083db897
tree28c51bb9467201cb97937c5e1c98fa8e5216ab04
parent32048f5414d70192c85dda6133e02c4ad1a1c56c
load-fragment: simplify list insertion logic

LIST_FIND_TAIL and LIST_INSERT_AFTER can work for empty list.
src/core/load-fragment.c