diff options
Diffstat (limited to '')
-rw-r--r-- | src/xz/main.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/xz/main.h b/src/xz/main.h index 1e369425..2d6419ad 100644 --- a/src/xz/main.h +++ b/src/xz/main.h @@ -17,9 +17,6 @@ // /////////////////////////////////////////////////////////////////////////////// -#ifndef MAIN_H -#define MAIN_H - /// Possible exit status values. These are the same as used by gzip and bzip2. enum exit_status_type { E_SUCCESS = 0, @@ -28,22 +25,6 @@ enum exit_status_type { }; -/// If this is true, we will clean up the possibly incomplete output file, -/// return to main() as soon as practical. That is, the code needs to poll -/// this variable in various places. -extern volatile sig_atomic_t user_abort; - - -/// Block the signals which don't have SA_RESTART and which would just set -/// user_abort to true. This is handy when we don't want to handle EINTR -/// and don't want SA_RESTART either. -extern void signals_block(void); - - -/// Unblock the signals blocked by signals_block(). -extern void signals_unblock(void); - - /// Sets the exit status after a warning or error has occurred. If new_status /// is EX_WARNING and the old exit status was already EX_ERROR, the exit /// status is not changed. @@ -55,6 +36,3 @@ extern void set_exit_status(enum exit_status_type new_status); /// a signal, this function will raise it so that to the parent process it /// appears that we were killed by the signal sent by the user. extern void my_exit(enum exit_status_type status) lzma_attribute((noreturn)); - - -#endif |