projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bc756f
)
install: minor enum beautifications
author
Lennart Poettering
<lennart@poettering.net>
Mon, 9 Apr 2018 17:45:04 +0000
(19:45 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 12 Apr 2018 09:02:47 +0000
(11:02 +0200)
src/shared/install.h
patch
|
blob
|
history
diff --git
a/src/shared/install.h
b/src/shared/install.h
index
56a2d4e
..
495fa3b
100644
(file)
--- a/
src/shared/install.h
+++ b/
src/shared/install.h
@@
-64,13
+64,13
@@
enum UnitFileChangeType {
UNIT_FILE_IS_MASKED,
UNIT_FILE_IS_DANGLING,
_UNIT_FILE_CHANGE_TYPE_MAX,
- _UNIT_FILE_CHANGE_INVALID = INT_MIN
+ _UNIT_FILE_CHANGE_
TYPE_
INVALID = INT_MIN
};
enum UnitFileFlags {
- UNIT_FILE_RUNTIME = 1,
- UNIT_FILE_FORCE
= 1
<< 1,
- UNIT_FILE_DRY_RUN = 1 << 2,
+ UNIT_FILE_RUNTIME = 1
U << 0
,
+ UNIT_FILE_FORCE
= 1U
<< 1,
+ UNIT_FILE_DRY_RUN = 1
U
<< 2,
};
/* type can either one of the UnitFileChangeTypes listed above, or a negative error.