From: Lennart Poettering Date: Mon, 9 Apr 2018 17:45:04 +0000 (+0200) Subject: install: minor enum beautifications X-Git-Tag: v239~417^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=42ce5f75bfb13c41e31d85c15fc457521a298f49;p=platform%2Fupstream%2Fsystemd.git install: minor enum beautifications --- diff --git a/src/shared/install.h b/src/shared/install.h index 56a2d4e..495fa3b 100644 --- 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 = 1U << 0, + UNIT_FILE_FORCE = 1U << 1, + UNIT_FILE_DRY_RUN = 1U << 2, }; /* type can either one of the UnitFileChangeTypes listed above, or a negative error.