diff options
Diffstat (limited to 'amiga/misc.h')
-rw-r--r-- | amiga/misc.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/amiga/misc.h b/amiga/misc.h index db559f78a..ce2d94793 100644 --- a/amiga/misc.h +++ b/amiga/misc.h @@ -24,5 +24,14 @@ extern struct gui_file_table *amiga_file_table; char *translate_escape_chars(const char *s); int32 ami_warn_user_multi(const char *body, const char *opt1, const char *opt2, struct Window *win); +/** + * Cause an abnormal program termination. + * + * \note This never returns and is intended to terminate without any cleanup. + * + * \param error The message to display to the user. + */ +void die(const char * const error) __attribute__ ((noreturn)); + #endif |