diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2014-12-12 22:51:24 +0100 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2014-12-13 00:47:23 +0100 |
commit | d05089d86ef032b245c7f928e623b88c82998ab0 (patch) | |
tree | 96bcef531c7e8b74479ec233ea33990b258b67b0 /src/journal/journal-def.h | |
parent | 2df65e7d964295f2763fae3b8bc3ade5d4e0fbe3 (diff) |
journal: consistently use OBJECT_<type> names instead of numbers
Note that numbers 0 and -1 are both replaced with OBJECT_UNUSED,
because they are treated the same everywhere (e.g. type_to_context()
translates them both to 0).
Diffstat (limited to 'src/journal/journal-def.h')
-rw-r--r-- | src/journal/journal-def.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journal-def.h b/src/journal/journal-def.h index e55fa196f2..005e5fa149 100644 --- a/src/journal/journal-def.h +++ b/src/journal/journal-def.h @@ -53,7 +53,7 @@ typedef struct FSSHeader FSSHeader; /* Object types */ enum { - OBJECT_UNUSED, + OBJECT_UNUSED, /* also serves as "any type" or "additional context" */ OBJECT_DATA, OBJECT_FIELD, OBJECT_ENTRY, |