]> git.ipfire.org Git - thirdparty/systemd.git/commit
core/load-fragment: constify Unit* arguments where possible
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 16 Oct 2019 14:32:45 +0000 (16:32 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 16 Oct 2019 14:32:45 +0000 (16:32 +0200)
commit47538b7686e2e1f94c32b11dd970d2716d680973
tree90ee4ff54441d05c858703a308fbc23b9adb3d18
parenta2262bcafa182672a383b469bff36c905803465d
core/load-fragment: constify Unit* arguments where possible

This makes it easy to tell that the function only uses the Unit* for
reporting, and only makes changes to the other argument (which most likely
also points at the same Unit structure) for modifications.
src/core/load-fragment.c