chiark / gitweb /
tree-wide: spelling fixes
[elogind.git] / src / journal / journal-def.h
index 005e5fa149185f2d9d61830d99888145a0c78c18..ab089cb966b960eab97338b8fd07cca50613503c 100644 (file)
@@ -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 {