]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: mark unit_*_printf() functions as taking a const Unit*
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 16 Oct 2019 14:21:56 +0000 (16:21 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 16 Oct 2019 14:21:56 +0000 (16:21 +0200)
commita2262bcafa182672a383b469bff36c905803465d
treeccfc04a02bea5d1cb351f5e0d996745f475df174
parentc8966bffdd9ad4ef7dcec89e0cc8d43529ef2aed
core: mark unit_*_printf() functions as taking a const Unit*

They should never modify the unit argument, let's make this clear.
Also see 303ee60151.
src/core/unit-printf.c
src/core/unit-printf.h