summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2015-09-29 11:20:52 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2015-11-16 15:34:41 +0100
commit090d92bd6f66afd7c6bf18ef07315058ce826f01 (patch)
treee4de087dd8c89e6e2f413a676c14cec30c21edea /src
parentb690ef12b59187074cf5a9c02a69d06fa1398789 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/login/logind-user.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/login/logind-user.h b/src/login/logind-user.h
index 11d28d2997..de99cf47b4 100644
--- a/src/login/logind-user.h
+++ b/src/login/logind-user.h
@@ -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;