summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-11-01 18:16:18 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-11-04 00:30:32 +0900
commitdf26692947ac556a20ce0a6f1585db18871ace1c (patch)
tree42bdf6dfc65b21b6706e05b2741d34fd885bd371
parenta4dca9836bfc932b54cb14d33f438b058f2bce7c (diff)
downloadsystemd-df26692947ac556a20ce0a6f1585db18871ace1c.tar.gz
tree-wide: drop sched.h when missing_sched.h is included
-rw-r--r--src/nspawn/nspawn.c1
-rw-r--r--src/test/test-process-util.c1
-rw-r--r--src/test/test-seccomp.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
index dfd14ca390..db3bc1a4db 100644
--- a/src/nspawn/nspawn.c
+++ b/src/nspawn/nspawn.c
@@ -9,7 +9,6 @@
#include <linux/fs.h>
#include <linux/loop.h>
#include <pwd.h>
-#include <sched.h>
#if HAVE_SELINUX
#include <selinux/selinux.h>
#endif
diff --git a/src/test/test-process-util.c b/src/test/test-process-util.c
index ad441ae731..762a203577 100644
--- a/src/test/test-process-util.c
+++ b/src/test/test-process-util.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <fcntl.h>
-#include <sched.h>
#include <sys/mount.h>
#include <sys/personality.h>
#include <sys/prctl.h>
diff --git a/src/test/test-seccomp.c b/src/test/test-seccomp.c
index af17a56516..018c20f8be 100644
--- a/src/test/test-seccomp.c
+++ b/src/test/test-seccomp.c
@@ -2,7 +2,6 @@
#include <fcntl.h>
#include <poll.h>
-#include <sched.h>
#include <stdlib.h>
#include <sys/eventfd.h>
#include <sys/mman.h>