]> git.ipfire.org Git - thirdparty/systemd.git/commit
pid1: split out crash handler logic into its own .c/.h file 22695/head
authorLennart Poettering <lennart@poettering.net>
Thu, 10 Mar 2022 08:33:05 +0000 (09:33 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 10 Mar 2022 12:45:14 +0000 (13:45 +0100)
commit898c9a6f97affcc62b7873758449f3cb52bd3b98
tree2f921269f6e37108aec257d87411419ea86ac361
parent4fba096ba106a5629ae9a1ed895a744b974e56ca
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/crash-handler.c [new file with mode: 0644]
src/core/crash-handler.h [new file with mode: 0644]
src/core/main.c
src/core/main.h [new file with mode: 0644]
src/core/meson.build