1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-02-04 17:47:03 +03:00

logind: let's pack a few struct fields we can pack

This commit is contained in:
Lennart Poettering 2018-02-26 18:34:13 +01:00
parent 4c9cb12c05
commit 0410444446

View File

@ -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);
};