]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-id128: mark functions as const, not pure
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 28 Oct 2024 08:20:32 +0000 (09:20 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 28 Oct 2024 08:23:07 +0000 (09:23 +0100)
commitdc32b09b70c9bb20821df92ac82ace83d8a968e2
tree9cb59dbe00809d7a1d2a0f383d56b33a47e0ef07
parent955c51c087f1fb6d0b7a0091db943ad05ba3095e
sd-id128: mark functions as const, not pure

We would need to use pure if the funtion was getting pointers and
dereferencing them. But sd128_t is a structure and those functions
only access the parameters of the call.
src/systemd/sd-id128.h