summaryrefslogtreecommitdiffstats
path: root/src/shared/socket-label.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/socket-label.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/socket-label.c')
-rw-r--r--src/shared/socket-label.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/shared/socket-label.c b/src/shared/socket-label.c
index 6806c51158..dfb8a1a431 100644
--- a/src/shared/socket-label.c
+++ b/src/shared/socket-label.c
@@ -19,24 +19,16 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include <assert.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
-#include <stdlib.h>
-#include <arpa/inet.h>
-#include <stdio.h>
-#include <net/if.h>
-#include <sys/types.h>
#include <sys/stat.h>
#include <stddef.h>
-#include <sys/ioctl.h>
#include "macro.h"
#include "util.h"
#include "mkdir.h"
#include "missing.h"
-#include "label.h"
#include "selinux-util.h"
#include "socket-util.h"