From 898c9a6f97affcc62b7873758449f3cb52bd3b98 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 10 Mar 2022 09:33:05 +0100 Subject: pid1: split out crash handler logic into its own .c/.h file This stuff is sufficiently different from the rest of main.c, let's move it to its own .c/.h file, to make main.c a bit shorter. No code changes, just some refactoring. --- src/core/meson.build | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/core/meson.build') diff --git a/src/core/meson.build b/src/core/meson.build index 94cb3132e8..f5e04b37ca 100644 --- a/src/core/meson.build +++ b/src/core/meson.build @@ -197,7 +197,12 @@ libcore = shared_library( core_includes = [includes, include_directories('.')] -systemd_sources = files('main.c') +systemd_sources = files( + 'main.c', + 'main.h', + 'crash-handler.c', + 'crash-handler.h', +) in_files = [['system.conf', pkgsysconfdir], ['user.conf', pkgsysconfdir], -- cgit v1.2.1