summaryrefslogtreecommitdiff
path: root/src/journal/journal-file.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-26 18:40:23 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-26 18:46:03 +0100
commitb8e891e699e1336c5527f8203e4e8f67c9bbeb84 (patch)
treec20109013c9f19679c1a3b7c9d0541ed4abb980f /src/journal/journal-file.c
parenta676e66535e12458ea6d366a653f8dd60f982504 (diff)
journal: make table const
Diffstat (limited to 'src/journal/journal-file.c')
-rw-r--r--src/journal/journal-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c
index d606adaf8e..481c2423cc 100644
--- a/src/journal/journal-file.c
+++ b/src/journal/journal-file.c
@@ -401,7 +401,7 @@ static int journal_file_move_to(JournalFile *f, int context, bool keep_always, u
static uint64_t minimum_header_size(Object *o) {
- static uint64_t table[] = {
+ static const uint64_t table[] = {
[OBJECT_DATA] = sizeof(DataObject),
[OBJECT_FIELD] = sizeof(FieldObject),
[OBJECT_ENTRY] = sizeof(EntryObject),