]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-id128: Drop _sd_const_ from sd_id128_in_setv()
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 13 Oct 2025 08:43:16 +0000 (10:43 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 13 Oct 2025 14:59:40 +0000 (16:59 +0200)
commit89950fc6a731e43dcb825ef06ad2f3f566ed7c3e
treeb2cbcdfc2a879e4e271dc2ace934865fad8e9d76
parentc058ff41cb24a1cce7bbe574f072bf3c35533913
sd-id128: Drop _sd_const_ from sd_id128_in_setv()

Both the const and pure attributes disallow modifying input arguments
but sd_id128_in_setv() clearly modifies its ap input argument by iterating
over it with va_arg() so drop the _sd_const_ attribute from
sd_id128_in_setv().

(cherry picked from commit 675fa49f69943b0f009c973ed3d1e90afc1d88b1)
src/systemd/sd-id128.h