iovec-util: make IOVEC_INCREMENT a regular function too

Even more than with the previous commit, this is not a trivial function
and there's no reason to believe this will actually be inlined nor that
it would be beneficial.
This commit is contained in:
Lennart Poettering
2023-10-20 10:43:50 +02:00
parent 9599ea28b4
commit 986235a99a
6 changed files with 30 additions and 26 deletions
+1 -1
View File
@@ -541,7 +541,7 @@ static int write_to_syslog(
if (!syslog_is_stream)
break;
if (IOVEC_INCREMENT(iovec, ELEMENTSOF(iovec), n))
if (iovec_increment(iovec, ELEMENTSOF(iovec), n))
break;
}