summaryrefslogtreecommitdiff
path: root/src/journal/journal-def.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-08-18 00:37:21 +0200
committerLennart Poettering <lennart@poettering.net>2012-08-18 00:37:21 +0200
commitdb11ac1ab56bc13514a029e7d126c5efe2c68bc2 (patch)
tree3b8506431e56d2b89bca4c817fb26429f5946c30 /src/journal/journal-def.h
parenta0108012974558c5a7dcf8c76456be6a07b0e95d (diff)
journald: add additional simple static tests to verifier
Diffstat (limited to 'src/journal/journal-def.h')
-rw-r--r--src/journal/journal-def.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/journal/journal-def.h b/src/journal/journal-def.h
index 52c55ab4bb..45c3cde9f0 100644
--- a/src/journal/journal-def.h
+++ b/src/journal/journal-def.h
@@ -140,9 +140,10 @@ union Object {
};
enum {
- STATE_OFFLINE,
- STATE_ONLINE,
- STATE_ARCHIVED
+ STATE_OFFLINE = 0,
+ STATE_ONLINE = 1,
+ STATE_ARCHIVED = 2,
+ _STATE_MAX
};
/* Header flags */