From: Yu Watanabe Date: Mon, 1 May 2023 03:52:50 +0000 (+0900) Subject: sd-journal: add _OBJECT_TYPE_INVALID as usual X-Git-Tag: v254-rc1~586^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3092eaa72e2ebade043c64ff47cd53bda23b499e;p=thirdparty%2Fsystemd.git sd-journal: add _OBJECT_TYPE_INVALID as usual --- diff --git a/src/libsystemd/sd-journal/journal-def.h b/src/libsystemd/sd-journal/journal-def.h index 2f048c01980..e52a307c9fb 100644 --- a/src/libsystemd/sd-journal/journal-def.h +++ b/src/libsystemd/sd-journal/journal-def.h @@ -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) */