summaryrefslogtreecommitdiff
path: root/src/shared/condition-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-11-06 13:56:22 +0100
committerLennart Poettering <lennart@poettering.net>2014-11-06 14:21:11 +0100
commit651c33185eeb449385b471fffa8882a163c496f0 (patch)
tree7fb1e0d49512d1958b0a6aa74fde154069ab242c /src/shared/condition-util.h
parent59fccdc587bc179c1638916ee16a24099f94f81f (diff)
condition: order condition types the same way in man page, enum, tables
Yes, sometimes I develop OCD.
Diffstat (limited to 'src/shared/condition-util.h')
-rw-r--r--src/shared/condition-util.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/shared/condition-util.h b/src/shared/condition-util.h
index 9aaaee9091..28d1d94ff4 100644
--- a/src/shared/condition-util.h
+++ b/src/shared/condition-util.h
@@ -28,7 +28,16 @@
#include "macro.h"
typedef enum ConditionType {
- CONDITION_NULL,
+ CONDITION_ARCHITECTURE,
+ CONDITION_VIRTUALIZATION,
+ CONDITION_HOST,
+ CONDITION_KERNEL_COMMAND_LINE,
+ CONDITION_SECURITY,
+ CONDITION_CAPABILITY,
+ CONDITION_AC_POWER,
+
+ CONDITION_NEEDS_UPDATE,
+ CONDITION_FIRST_BOOT,
CONDITION_PATH_EXISTS,
CONDITION_PATH_EXISTS_GLOB,
@@ -40,16 +49,7 @@ typedef enum ConditionType {
CONDITION_FILE_NOT_EMPTY,
CONDITION_FILE_IS_EXECUTABLE,
- CONDITION_KERNEL_COMMAND_LINE,
- CONDITION_VIRTUALIZATION,
- CONDITION_ARCHITECTURE,
- CONDITION_SECURITY,
- CONDITION_CAPABILITY,
- CONDITION_HOST,
- CONDITION_AC_POWER,
-
- CONDITION_NEEDS_UPDATE,
- CONDITION_FIRST_BOOT,
+ CONDITION_NULL,
_CONDITION_TYPE_MAX,
_CONDITION_TYPE_INVALID = -1