This patch series moves all the exit related functions to a separate file - common/exit. This will remove the dependency to source non-related files to use these exit related functions. Thanks to Dave for suggesting this[1]. The second patch replaces exit with _exit in check file - I missed replacing them in [2]. [1] https://lore.kernel.org/all/Z_UJ7XcpmtkPRhTr@xxxxxxxxxxxxxxxxxxx/ [2] https://lore.kernel.org/all/48dacdf636be19ae8bff66cc3852d27e28030613.1744181682.git.nirjhar.roy.lists@xxxxxxxxx/ Nirjhar Roy (IBM) (2): common: Move exit related functions to a common/exit check: Replace exit with _exit in check check | 40 ++++++++++++++++----------------------- common/btrfs | 2 +- common/ceph | 2 ++ common/config | 17 +---------------- common/dump | 1 + common/exit | 50 +++++++++++++++++++++++++++++++++++++++++++++++++ common/ext4 | 2 +- common/populate | 2 +- common/preamble | 1 + common/punch | 6 +----- common/rc | 29 +--------------------------- common/repair | 1 + common/xfs | 1 + 13 files changed, 78 insertions(+), 76 deletions(-) create mode 100644 common/exit -- 2.34.1