diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-10-02 22:36:33 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-10-02 22:36:33 +0200 |
commit | 804ae586d475d77946debb22c1bc9ee049d4750c (patch) | |
tree | f70f836266c14d6c56fd6ecab018a0bd40f498f8 /src/journal/journal-file.c | |
parent | 2e14c544a9c13c516f6918618138b38e0f6c7a17 (diff) |
journal: make journal_file_close() return NULL
The way it is customary everywhere else in our sources.
Diffstat (limited to 'src/journal/journal-file.c')
-rw-r--r-- | src/journal/journal-file.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c index 73d3a4bb9d..960d6bfd8c 100644 --- a/src/journal/journal-file.c +++ b/src/journal/journal-file.c @@ -128,7 +128,7 @@ int journal_file_set_offline(JournalFile *f) { return 0; } -void journal_file_close(JournalFile *f) { +JournalFile* journal_file_close(JournalFile *f) { assert(f); #ifdef HAVE_GCRYPT @@ -179,6 +179,7 @@ void journal_file_close(JournalFile *f) { #endif free(f); + return NULL; } static int journal_file_init_header(JournalFile *f, JournalFile *template) { |