From 24ce1703c48c30ae4a0fee61ae5edd9e0b2d27ed Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Thu, 8 Aug 2024 23:24:11 +0900 Subject: [PATCH] sd-journal: add trailing comma --- src/libsystemd/sd-journal/journal-def.h | 2 +- src/libsystemd/sd-journal/journal-file.h | 4 ++-- src/libsystemd/sd-journal/journal-internal.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libsystemd/sd-journal/journal-def.h b/src/libsystemd/sd-journal/journal-def.h index c972fe98ce4..07851229f87 100644 --- a/src/libsystemd/sd-journal/journal-def.h +++ b/src/libsystemd/sd-journal/journal-def.h @@ -164,7 +164,7 @@ enum { STATE_OFFLINE = 0, STATE_ONLINE = 1, STATE_ARCHIVED = 2, - _STATE_MAX + _STATE_MAX, }; /* Header flags */ diff --git a/src/libsystemd/sd-journal/journal-file.h b/src/libsystemd/sd-journal/journal-file.h index 81003889735..4096f05783e 100644 --- a/src/libsystemd/sd-journal/journal-file.h +++ b/src/libsystemd/sd-journal/journal-file.h @@ -46,7 +46,7 @@ typedef enum LocationType { /* We should seek to the precise location specified, and * return it, as we haven't read it yet. */ - LOCATION_SEEK + LOCATION_SEEK, } LocationType; typedef enum OfflineState { @@ -56,7 +56,7 @@ typedef enum OfflineState { OFFLINE_CANCEL, OFFLINE_AGAIN_FROM_SYNCING, OFFLINE_AGAIN_FROM_OFFLINING, - OFFLINE_DONE + OFFLINE_DONE, } OfflineState; typedef struct JournalFile { diff --git a/src/libsystemd/sd-journal/journal-internal.h b/src/libsystemd/sd-journal/journal-internal.h index e96b88a0c99..b13f7a45dc4 100644 --- a/src/libsystemd/sd-journal/journal-internal.h +++ b/src/libsystemd/sd-journal/journal-internal.h @@ -25,7 +25,7 @@ typedef struct Directory Directory; typedef enum MatchType { MATCH_DISCRETE, MATCH_OR_TERM, - MATCH_AND_TERM + MATCH_AND_TERM, } MatchType; struct Match {