summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2015-04-10 23:15:59 +0200
committerRonny Chevalier <chevalier.ronny@gmail.com>2015-04-11 00:34:02 +0200
commit288a74cce597f81d3ba01d8a5ca7d2ba5b654b7e (patch)
tree66f8131648bd8ba51e7039f7b7be712e1a5f494e /src/core
parent3df3e884ae1237ef0d4d23b0e80f4ffda95ac135 (diff)
shared: add terminal-util.[ch]
Diffstat (limited to 'src/core')
-rw-r--r--src/core/execute.c1
-rw-r--r--src/core/failure-action.c1
-rw-r--r--src/core/job.c1
-rw-r--r--src/core/killall.c1
-rw-r--r--src/core/main.c1
-rw-r--r--src/core/manager.c1
-rw-r--r--src/core/shutdown.c1
-rw-r--r--src/core/transaction.c1
8 files changed, 8 insertions, 0 deletions
diff --git a/src/core/execute.c b/src/core/execute.c
index b00d510419..bbd0d2c75d 100644
--- a/src/core/execute.c
+++ b/src/core/execute.c
@@ -78,6 +78,7 @@
#include "cap-list.h"
#include "formats-util.h"
#include "process-util.h"
+#include "terminal-util.h"
#ifdef HAVE_APPARMOR
#include "apparmor-util.h"
diff --git a/src/core/failure-action.c b/src/core/failure-action.c
index ffeb5cd31b..7c6abb3a82 100644
--- a/src/core/failure-action.c
+++ b/src/core/failure-action.c
@@ -27,6 +27,7 @@
#include "bus-error.h"
#include "special.h"
#include "failure-action.h"
+#include "terminal-util.h"
static void log_and_status(Manager *m, const char *message) {
log_warning("%s", message);
diff --git a/src/core/job.c b/src/core/job.c
index 0230f9316b..e92e24e44a 100644
--- a/src/core/job.c
+++ b/src/core/job.c
@@ -33,6 +33,7 @@
#include "async.h"
#include "virt.h"
#include "dbus.h"
+#include "terminal-util.h"
Job* job_new_raw(Unit *unit) {
Job *j;
diff --git a/src/core/killall.c b/src/core/killall.c
index 31bec01bbf..6e85923581 100644
--- a/src/core/killall.c
+++ b/src/core/killall.c
@@ -29,6 +29,7 @@
#include "set.h"
#include "formats-util.h"
#include "process-util.h"
+#include "terminal-util.h"
#define TIMEOUT_USEC (10 * USEC_PER_SEC)
diff --git a/src/core/main.c b/src/core/main.c
index 80a51ee2e5..af28ac6b24 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -74,6 +74,7 @@
#include "kmod-setup.h"
#include "formats-util.h"
#include "process-util.h"
+#include "terminal-util.h"
static enum {
ACTION_RUN,
diff --git a/src/core/manager.c b/src/core/manager.c
index 6d1729b6e0..2b04644dc1 100644
--- a/src/core/manager.c
+++ b/src/core/manager.c
@@ -72,6 +72,7 @@
#include "bus-kernel.h"
#include "time-util.h"
#include "process-util.h"
+#include "terminal-util.h"
/* Initial delay and the interval for printing status messages about running jobs */
#define JOBS_IN_PROGRESS_WAIT_USEC (5*USEC_PER_SEC)
diff --git a/src/core/shutdown.c b/src/core/shutdown.c
index f037a38a0c..aba16b4689 100644
--- a/src/core/shutdown.c
+++ b/src/core/shutdown.c
@@ -43,6 +43,7 @@
#include "def.h"
#include "switch-root.h"
#include "process-util.h"
+#include "terminal-util.h"
#define FINALIZE_ATTEMPTS 50
diff --git a/src/core/transaction.c b/src/core/transaction.c
index 64c2af5a1c..5974b1e96b 100644
--- a/src/core/transaction.c
+++ b/src/core/transaction.c
@@ -25,6 +25,7 @@
#include "bus-common-errors.h"
#include "bus-error.h"
#include "transaction.h"
+#include "terminal-util.h"
static void transaction_unlink_job(Transaction *tr, Job *j, bool delete_dependencies);