chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
manager: pack structs a bit tighter
[elogind.git]
/
manager.h
diff --git
a/manager.h
b/manager.h
index 8a48c5519cea30278f7f8cba11bf53340036468b..9321e809b64037df0750d29bfe307fff22b3371e 100644
(file)
--- a/
manager.h
+++ b/
manager.h
@@
-118,9
+118,6
@@
struct Watch {
#define SPECIAL_RUNLEVEL6_TARGET "runlevel6.target"
struct Manager {
#define SPECIAL_RUNLEVEL6_TARGET "runlevel6.target"
struct Manager {
- /* In which mode are we running */
- ManagerRunningAs running_as;
-
uint32_t current_job_id;
/* Note that the set of units we know of is allowed to be
uint32_t current_job_id;
/* Note that the set of units we know of is allowed to be
@@
-165,7
+162,8
@@
struct Manager {
bool confirm_spawn:1;
bool confirm_spawn:1;
- ManagerExitCode exit_code;
+ ManagerExitCode exit_code:4;
+ ManagerRunningAs running_as;
Hashmap *watch_pids; /* pid => Unit object n:1 */
Hashmap *watch_pids; /* pid => Unit object n:1 */