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:
parent
4c9cb12c05
commit
0410444446
@ -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);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user