]> 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 10:00:45 +0000 (12:00 +0200)
commit675fa49f69943b0f009c973ed3d1e90afc1d88b1
treeb8d0f5be01aa50730293428b269b5ced270f1ac0
parentd1893390e53e732693817dda2b521ada9b5b3a02
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().
src/systemd/sd-id128.h