login: group static fields in "struct User"
Make sure to put static fields together in "struct User". This makes it easier to figure out the lifetime of each field.
This commit is contained in:
@@ -39,16 +39,13 @@ typedef enum UserState {
|
||||
|
||||
struct User {
|
||||
Manager *manager;
|
||||
|
||||
uid_t uid;
|
||||
gid_t gid;
|
||||
char *name;
|
||||
|
||||
char *state_file;
|
||||
char *runtime_path;
|
||||
|
||||
char *service;
|
||||
char *slice;
|
||||
char *service;
|
||||
|
||||
char *service_job;
|
||||
char *slice_job;
|
||||
|
||||
Reference in New Issue
Block a user