diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2014-12-17 15:45:10 +0100 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2014-12-18 14:41:22 +0100 |
commit | f534928ad7aaeec0bec2d653b4a50e79b0fc8418 (patch) | |
tree | 95291bbdb8e1ede9566dd57e9aae4c1d6e60ef4d /src/journal/journal-file.h | |
parent | 7943f42275025e1b6642b580b19b24dfab8dee61 (diff) |
journal: journal_file_next_entry() does not need pointer to current Object
The current offset is sufficient information.
Diffstat (limited to 'src/journal/journal-file.h')
-rw-r--r-- | src/journal/journal-file.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journal-file.h b/src/journal/journal-file.h index 561982fe39..01bb4e038a 100644 --- a/src/journal/journal-file.h +++ b/src/journal/journal-file.h @@ -199,7 +199,7 @@ int journal_file_find_field_object_with_hash(JournalFile *f, const void *field, void journal_file_reset_location(JournalFile *f); void journal_file_save_location(JournalFile *f, direction_t direction, Object *o, uint64_t offset); int journal_file_compare_locations(JournalFile *af, JournalFile *bf); -int journal_file_next_entry(JournalFile *f, Object *o, uint64_t p, direction_t direction, Object **ret, uint64_t *offset); +int journal_file_next_entry(JournalFile *f, uint64_t p, direction_t direction, Object **ret, uint64_t *offset); int journal_file_next_entry_for_data(JournalFile *f, Object *o, uint64_t p, uint64_t data_offset, direction_t direction, Object **ret, uint64_t *offset); |