summaryrefslogtreecommitdiffstats
path: root/src/shared/spawn-polkit-agent.c
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-02-14 09:44:31 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-02-23 23:53:42 +0100
commit2eec67acbb00593e414549a7e5b35eb7dd776b1b (patch)
treec692391dddfa88d938a29ea238a9e1a95da879fc /src/shared/spawn-polkit-agent.c
parentnspawn: fix whitespace and typo in partition table blurb (diff)
downloadsystemd-2eec67acbb00593e414549a7e5b35eb7dd776b1b.tar.xz
systemd-2eec67acbb00593e414549a7e5b35eb7dd776b1b.zip
remove unused includes
This patch removes includes that are not used. The removals were found with include-what-you-use which checks if any of the symbols from a header is in use.
Diffstat (limited to 'src/shared/spawn-polkit-agent.c')
-rw-r--r--src/shared/spawn-polkit-agent.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/shared/spawn-polkit-agent.c b/src/shared/spawn-polkit-agent.c
index 8f259a8f39..bc1810da98 100644
--- a/src/shared/spawn-polkit-agent.c
+++ b/src/shared/spawn-polkit-agent.c
@@ -19,13 +19,9 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include <sys/types.h>
#include <stdlib.h>
#include <unistd.h>
-#include <string.h>
-#include <sys/prctl.h>
#include <signal.h>
-#include <fcntl.h>
#include <errno.h>
#include <poll.h>