diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2014-11-10 21:59:51 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2014-11-10 21:59:51 +0000 |
commit | e9696b2fa92971616ab6922e79fe3e7e2a9ff66d (patch) | |
tree | 9a9ca0483bc1dff4c8973168962ac87da8cb77bc /amiga/misc.h | |
parent | 33eb1f413a03042b330796780cb29ae74894c9fd (diff) | |
download | netsurf-e9696b2fa92971616ab6922e79fe3e7e2a9ff66d.tar.gz netsurf-e9696b2fa92971616ab6922e79fe3e7e2a9ff66d.tar.bz2 |
New function for an error requester with the correct imagery which doesn't attempt to do Messages lookup.
Diffstat (limited to 'amiga/misc.h')
-rw-r--r-- | amiga/misc.h | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/amiga/misc.h b/amiga/misc.h index 9adbb7352..836372f18 100644 --- a/amiga/misc.h +++ b/amiga/misc.h @@ -23,16 +23,8 @@ 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)); - - +void ami_misc_fatal_error(const char *message); +int32 ami_warn_user_multi(const char *body, + const char *opt1, const char *opt2, struct Window *win); #endif + |