diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-02-26 18:34:13 +0100 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-05-30 07:59:06 +0200 |
commit | 0063b26ed99c741d5ffde75468af23fb6b2eefed (patch) | |
tree | 0bc3009cd851a913e2287701bc9397129df80365 /src | |
parent | 80a3f96eba1e020c4783750af5904eb4f8bc1ae3 (diff) |
logind: let's pack a few struct fields we can pack
Diffstat (limited to 'src')
-rw-r--r-- | src/login/logind-session-device.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/login/logind-session-device.h b/src/login/logind-session-device.h index a1cf17af9..a9ead7bdc 100644 --- a/src/login/logind-session-device.h +++ b/src/login/logind-session-device.h @@ -39,9 +39,9 @@ struct SessionDevice { dev_t dev; char *node; int fd; - bool active; - DeviceType type; - bool pushed_fd; + DeviceType type:3; + bool active:1; + bool pushed_fd:1; LIST_FIELDS(struct SessionDevice, sd_by_device); }; |