diff options
author | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2015-02-14 09:44:31 +0100 |
---|---|---|
committer | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2015-02-23 23:53:42 +0100 |
commit | 2eec67acbb00593e414549a7e5b35eb7dd776b1b (patch) | |
tree | c692391dddfa88d938a29ea238a9e1a95da879fc /src/journal-remote | |
parent | 4aab5d0cbd979b2cccb88534f118bceaa86466d8 (diff) |
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/journal-remote')
-rw-r--r-- | src/journal-remote/journal-remote-write.h | 1 | ||||
-rw-r--r-- | src/journal-remote/journal-remote.c | 4 | ||||
-rw-r--r-- | src/journal-remote/journal-remote.h | 1 |
3 files changed, 0 insertions, 6 deletions
diff --git a/src/journal-remote/journal-remote-write.h b/src/journal-remote/journal-remote-write.h index aa381c661e..7f47f8b014 100644 --- a/src/journal-remote/journal-remote-write.h +++ b/src/journal-remote/journal-remote-write.h @@ -21,7 +21,6 @@ #pragma once -#include <stdlib.h> #include "journal-file.h" diff --git a/src/journal-remote/journal-remote.c b/src/journal-remote/journal-remote.c index 8f32a9a988..ba811e0333 100644 --- a/src/journal-remote/journal-remote.c +++ b/src/journal-remote/journal-remote.c @@ -26,8 +26,6 @@ #include <string.h> #include <sys/prctl.h> #include <sys/socket.h> -#include <sys/stat.h> -#include <sys/types.h> #include <unistd.h> #include <getopt.h> @@ -35,13 +33,11 @@ #include "journal-file.h" #include "journald-native.h" #include "socket-util.h" -#include "mkdir.h" #include "build.h" #include "macro.h" #include "strv.h" #include "fileio.h" #include "conf-parser.h" -#include "siphash24.h" #ifdef HAVE_GNUTLS #include <gnutls/gnutls.h> diff --git a/src/journal-remote/journal-remote.h b/src/journal-remote/journal-remote.h index 1cf22f6383..6c2ccb9735 100644 --- a/src/journal-remote/journal-remote.h +++ b/src/journal-remote/journal-remote.h @@ -21,7 +21,6 @@ #pragma once -#include <inttypes.h> #include "sd-event.h" #include "hashmap.h" |