diff options
Diffstat (limited to 'src/journal/journal-def.h')
-rw-r--r-- | src/journal/journal-def.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/journal/journal-def.h b/src/journal/journal-def.h index 005e5fa149..ab089cb966 100644 --- a/src/journal/journal-def.h +++ b/src/journal/journal-def.h @@ -52,7 +52,7 @@ typedef struct HashItem HashItem; typedef struct FSSHeader FSSHeader; /* Object types */ -enum { +typedef enum ObjectType { OBJECT_UNUSED, /* also serves as "any type" or "additional context" */ OBJECT_DATA, OBJECT_FIELD, @@ -62,7 +62,7 @@ enum { OBJECT_ENTRY_ARRAY, OBJECT_TAG, _OBJECT_TYPE_MAX -}; +} ObjectType; /* Object flags */ enum { |