]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/bus-util.h
bus-util: convert bus_log_{parse,create}_error into defines
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 28 Jul 2019 09:43:53 +0000 (11:43 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 29 Jul 2019 13:54:53 +0000 (15:54 +0200)
commit32131a3aaad8f2102698fbd66a308d1d3e500da6
treec3761cdb73c3fbd59559d5253ecc2017bdafd298
parent23d5dd168724fe60c7b00d78f49563a6be05627d
bus-util: convert bus_log_{parse,create}_error into defines

With SYSTEMD_LOG_LOCATION=1, it is much more useful to see the location
where the call to bus_log_{parse,create}_error() was made, rather then
the one-line body of the helper function. Also, it's our internal code,
so having a one-line non-inline function doesn't make much sense anyway.
src/shared/bus-util.c
src/shared/bus-util.h