summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2015-04-10 20:43:52 +0200
committerRonny Chevalier <chevalier.ronny@gmail.com>2015-04-10 23:54:48 +0200
commit6482f6269c87d2249e52e889a63adbdd50f2d691 (patch)
treec9ae27c01d1d1b1f451d3bbb0e9f512d32883312 /src/login
parent05a08cb60f02970e8476306074c70ee4e6a57fb3 (diff)
shared: add formats-util.h
Diffstat (limited to 'src/login')
-rw-r--r--src/login/inhibit.c1
-rw-r--r--src/login/logind-acl.c1
-rw-r--r--src/login/logind-action.c1
-rw-r--r--src/login/logind-dbus.c1
-rw-r--r--src/login/logind-inhibit.c1
-rw-r--r--src/login/logind-seat.c1
-rw-r--r--src/login/logind-session.c1
-rw-r--r--src/login/logind-user-dbus.c1
-rw-r--r--src/login/logind-user.c1
-rw-r--r--src/login/logind.c1
-rw-r--r--src/login/pam_systemd.c1
11 files changed, 11 insertions, 0 deletions
diff --git a/src/login/inhibit.c b/src/login/inhibit.c
index 9f349b7c73..1f78e4b883 100644
--- a/src/login/inhibit.c
+++ b/src/login/inhibit.c
@@ -31,6 +31,7 @@
#include "util.h"
#include "build.h"
#include "strv.h"
+#include "formats-util.h"
static const char* arg_what = "idle:sleep:shutdown";
static const char* arg_who = NULL;
diff --git a/src/login/logind-acl.c b/src/login/logind-acl.c
index d2b3337788..466225d69c 100644
--- a/src/login/logind-acl.c
+++ b/src/login/logind-acl.c
@@ -23,6 +23,7 @@
#include <string.h>
#include "util.h"
+#include "formats-util.h"
#include "acl-util.h"
#include "set.h"
#include "logind-acl.h"
diff --git a/src/login/logind-action.c b/src/login/logind-action.c
index 281e3c7569..d7ae175bd3 100644
--- a/src/login/logind-action.c
+++ b/src/login/logind-action.c
@@ -27,6 +27,7 @@
#include "bus-util.h"
#include "bus-error.h"
#include "logind-action.h"
+#include "formats-util.h"
int manager_handle_action(
Manager *m,
diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c
index 9ba85d80a1..45aedad594 100644
--- a/src/login/logind-dbus.c
+++ b/src/login/logind-dbus.c
@@ -40,6 +40,7 @@
#include "selinux-util.h"
#include "efivars.h"
#include "logind.h"
+#include "formats-util.h"
int manager_get_session_from_creds(Manager *m, sd_bus_message *message, const char *name, sd_bus_error *error, Session **ret) {
_cleanup_bus_creds_unref_ sd_bus_creds *creds = NULL;
diff --git a/src/login/logind-inhibit.c b/src/login/logind-inhibit.c
index 5eb1a2ea65..68304a1610 100644
--- a/src/login/logind-inhibit.c
+++ b/src/login/logind-inhibit.c
@@ -28,6 +28,7 @@
#include "mkdir.h"
#include "logind-inhibit.h"
#include "fileio.h"
+#include "formats-util.h"
Inhibitor* inhibitor_new(Manager *m, const char* id) {
Inhibitor *i;
diff --git a/src/login/logind-seat.c b/src/login/logind-seat.c
index 49808c928b..4c0bebd18c 100644
--- a/src/login/logind-seat.c
+++ b/src/login/logind-seat.c
@@ -29,6 +29,7 @@
#include "logind-acl.h"
#include "util.h"
#include "mkdir.h"
+#include "formats-util.h"
Seat *seat_new(Manager *m, const char *id) {
Seat *s;
diff --git a/src/login/logind-session.c b/src/login/logind-session.c
index 59f765782a..cebc90ce54 100644
--- a/src/login/logind-session.c
+++ b/src/login/logind-session.c
@@ -37,6 +37,7 @@
#include "bus-util.h"
#include "bus-error.h"
#include "logind-session.h"
+#include "formats-util.h"
#define RELEASE_USEC (20*USEC_PER_SEC)
diff --git a/src/login/logind-user-dbus.c b/src/login/logind-user-dbus.c
index f7af8ff9b2..03c33708fc 100644
--- a/src/login/logind-user-dbus.c
+++ b/src/login/logind-user-dbus.c
@@ -26,6 +26,7 @@
#include "bus-util.h"
#include "logind.h"
#include "logind-user.h"
+#include "formats-util.h"
static int property_get_display(
sd_bus *bus,
diff --git a/src/login/logind-user.c b/src/login/logind-user.c
index cba9cb60aa..b00e9b17dc 100644
--- a/src/login/logind-user.c
+++ b/src/login/logind-user.c
@@ -38,6 +38,7 @@
#include "clean-ipc.h"
#include "logind-user.h"
#include "smack-util.h"
+#include "formats-util.h"
User* user_new(Manager *m, uid_t uid, gid_t gid, const char *name) {
User *u;
diff --git a/src/login/logind.c b/src/login/logind.c
index e7880743a0..707d528fbb 100644
--- a/src/login/logind.c
+++ b/src/login/logind.c
@@ -32,6 +32,7 @@
#include "bus-error.h"
#include "logind.h"
#include "udev-util.h"
+#include "formats-util.h"
Manager *manager_new(void) {
Manager *m;
diff --git a/src/login/pam_systemd.c b/src/login/pam_systemd.c
index d7a708fd0a..a0fabfee67 100644
--- a/src/login/pam_systemd.c
+++ b/src/login/pam_systemd.c
@@ -40,6 +40,7 @@
#include "socket-util.h"
#include "fileio.h"
#include "bus-error.h"
+#include "formats-util.h"
static int parse_argv(
pam_handle_t *handle,