sd-journal: add _OBJECT_TYPE_INVALID as usual

This commit is contained in:
Yu Watanabe 2023-05-01 12:52:50 +09:00
parent deb87cc80e
commit 3092eaa72e

View file

@ -38,7 +38,8 @@ typedef enum ObjectType {
OBJECT_FIELD_HASH_TABLE,
OBJECT_ENTRY_ARRAY,
OBJECT_TAG,
_OBJECT_TYPE_MAX
_OBJECT_TYPE_MAX,
_OBJECT_TYPE_INVALID = -EINVAL,
} ObjectType;
/* Object flags (note that src/basic/compress.h uses the same values for the compression types) */