summaryrefslogtreecommitdiff
path: root/src/grp-coredump
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-08-01 16:33:32 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-08-01 16:33:32 -0400
commit272b48187cee0b42b6e936ad2c045f13b391f3ad (patch)
tree383049270ccbac5040e4404bbe71ac49d0c423db /src/grp-coredump
parent46277a7844c854210eaa0a3612fa297ec33ddb7b (diff)
find src \( -name '*.h' -o -name '*.c' \) -type f -exec ./fixup_includes {} \;
Diffstat (limited to 'src/grp-coredump')
-rw-r--r--src/grp-coredump/coredumpctl/coredumpctl.c6
-rw-r--r--src/grp-coredump/systemd-coredump/coredump-vacuum.c3
-rw-r--r--src/grp-coredump/systemd-coredump/stacktrace.c3
3 files changed, 7 insertions, 5 deletions
diff --git a/src/grp-coredump/coredumpctl/coredumpctl.c b/src/grp-coredump/coredumpctl/coredumpctl.c
index 146a03032c..19d28f744e 100644
--- a/src/grp-coredump/coredumpctl/coredumpctl.c
+++ b/src/grp-coredump/coredumpctl/coredumpctl.c
@@ -27,13 +27,10 @@
#include <systemd/sd-journal.h>
#include "basic/alloc-util.h"
-#include "sd-journal/compress.h"
#include "basic/fd-util.h"
#include "basic/fileio.h"
-#include "sd-journal/journal-internal.h"
#include "basic/log.h"
#include "basic/macro.h"
-#include "shared/pager.h"
#include "basic/parse-util.h"
#include "basic/path-util.h"
#include "basic/process-util.h"
@@ -44,6 +41,9 @@
#include "basic/terminal-util.h"
#include "basic/user-util.h"
#include "basic/util.h"
+#include "sd-journal/compress.h"
+#include "sd-journal/journal-internal.h"
+#include "shared/pager.h"
static enum {
ACTION_NONE,
diff --git a/src/grp-coredump/systemd-coredump/coredump-vacuum.c b/src/grp-coredump/systemd-coredump/coredump-vacuum.c
index 77c543ca9c..7fc6e85436 100644
--- a/src/grp-coredump/systemd-coredump/coredump-vacuum.c
+++ b/src/grp-coredump/systemd-coredump/coredump-vacuum.c
@@ -20,7 +20,6 @@
#include <sys/statvfs.h>
#include "basic/alloc-util.h"
-#include "coredump-vacuum.h"
#include "basic/dirent-util.h"
#include "basic/fd-util.h"
#include "basic/hashmap.h"
@@ -30,6 +29,8 @@
#include "basic/user-util.h"
#include "basic/util.h"
+#include "coredump-vacuum.h"
+
#define DEFAULT_MAX_USE_LOWER (uint64_t) (1ULL*1024ULL*1024ULL) /* 1 MiB */
#define DEFAULT_MAX_USE_UPPER (uint64_t) (4ULL*1024ULL*1024ULL*1024ULL) /* 4 GiB */
#define DEFAULT_KEEP_FREE_UPPER (uint64_t) (4ULL*1024ULL*1024ULL*1024ULL) /* 4 GiB */
diff --git a/src/grp-coredump/systemd-coredump/stacktrace.c b/src/grp-coredump/systemd-coredump/stacktrace.c
index f2309b5cc4..e51b2986e6 100644
--- a/src/grp-coredump/systemd-coredump/stacktrace.c
+++ b/src/grp-coredump/systemd-coredump/stacktrace.c
@@ -24,10 +24,11 @@
#include "basic/fd-util.h"
#include "basic/formats-util.h"
#include "basic/macro.h"
-#include "stacktrace.h"
#include "basic/string-util.h"
#include "basic/util.h"
+#include "stacktrace.h"
+
#define FRAMES_MAX 64
#define THREADS_MAX 64