]> git.ipfire.org Git - thirdparty/systemd.git/commit
journal-file: rename return parameters to ret_xyz
authorLennart Poettering <lennart@poettering.net>
Mon, 1 Jun 2020 16:15:40 +0000 (18:15 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 25 Jun 2020 13:01:22 +0000 (15:01 +0200)
commitf4474e004dab7e12cd28e03f1fef8a5f00b80600
tree618cfc75498c0bf5b1d7bf89b76ed1b4a007b846
parent5030c85a3e6c5547bac874ac0e511bfb7121b59f
journal-file: rename return parameters to ret_xyz

Let's clean this up a bit, following our usual nomenclature to name
return parameters ret-xyz.

This is mostly a bit of renaming, but there's also some minor other
changes: if we return a pointer to a mmap'ed object plus its offset, in
almost all cases we are happy if either parameter is NULL in case the
caller is not interested in it. Let's fix the remaining case to do this
too, to minimize surprises.
src/journal/journal-file.c