main: Refactor quit functions
Move quit-related functions to main.c and make them static. main_quit() now does all the heavy work and can be called from signal handlers.
Showing
Please
register
or
sign in
to comment
Move quit-related functions to main.c and make them static. main_quit() now does all the heavy work and can be called from signal handlers.