summaryrefslogtreecommitdiff
path: root/src/login/logind-utmp.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-25 22:32:30 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-26 01:24:38 +0100
commitb1d4f8e154bf61b5de1b27461ef8e9c8c5e838a1 (patch)
treeca7a42f7604a837da6cfb80682d737beee34a219 /src/login/logind-utmp.c
parentc004493cdefc1f43a3956ca529e8070f8d70be56 (diff)
util-lib: split out user/group/uid/gid calls into user-util.[ch]
Diffstat (limited to 'src/login/logind-utmp.c')
-rw-r--r--src/login/logind-utmp.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/login/logind-utmp.c b/src/login/logind-utmp.c
index 1e13ff01de..80e461f2dc 100644
--- a/src/login/logind-utmp.c
+++ b/src/login/logind-utmp.c
@@ -25,15 +25,17 @@
#include <pwd.h>
#include "sd-messages.h"
-#include "strv.h"
-#include "special.h"
-#include "unit-name.h"
+
#include "audit.h"
-#include "bus-util.h"
-#include "bus-error.h"
#include "bus-common-errors.h"
-#include "logind.h"
+#include "bus-error.h"
+#include "bus-util.h"
#include "formats-util.h"
+#include "logind.h"
+#include "special.h"
+#include "strv.h"
+#include "unit-name.h"
+#include "user-util.h"
#include "utmp-wtmp.h"
_const_ static usec_t when_wall(usec_t n, usec_t elapse) {