]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/journal/journal-file.c
journal: split out array index inc/dec code into a new call bump_array_index()
authorLennart Poettering <lennart@poettering.net>
Wed, 12 Oct 2016 09:54:36 +0000 (11:54 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 12 Oct 2016 18:25:20 +0000 (20:25 +0200)
commitaa598ba5b63b70273d6295fce3cb8c304716a205
tree4f6a21d4efb5a63a4f5de9e07a5f9abbaa1728ed
parent202fd896e516bbd7379bf2e2bcc224d3ec2356cd
journal: split out array index inc/dec code into a new call bump_array_index()

This allows us to share a bit more code between journal_file_next_entry() and
journal_file_next_entry_for_data().
src/journal/journal-file.c