]> git.ipfire.org Git - thirdparty/systemd.git/commit
iovec-util: make IOVEC_TOTAL_SIZE() a regular function
authorLennart Poettering <lennart@poettering.net>
Thu, 19 Oct 2023 14:33:51 +0000 (16:33 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 20 Oct 2023 08:43:50 +0000 (10:43 +0200)
commitc24e0dbea1c2bb5eedcd7f335e3b6f1aafb79bad
tree0f10bc91818944984eb7e37446c568c340b8bb6c
parentbd1ae178336a3d9143feea35bb4885c923581e1d
iovec-util: make IOVEC_TOTAL_SIZE() a regular function

The function isn't necessarily fast (it's O(n)), and there's no reason
to have it defined as inline function, since it's neither fast, nor
entirely trivial.
src/basic/iovec-util.c
src/basic/iovec-util.h
src/journal/journald-server.c
src/libsystemd/sd-bus/bus-message.c
src/libsystemd/sd-daemon/sd-daemon.c
src/resolve/resolved-dnstls-gnutls.c
src/resolve/resolved-dnstls-openssl.c