diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/urweb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/urweb.h b/include/urweb.h index 2c7576d9..8b74a21b 100644 --- a/include/urweb.h +++ b/include/urweb.h @@ -17,7 +17,8 @@ void lw_reset_keep_error_message(lw_context); failure_kind lw_begin_init(lw_context); failure_kind lw_begin(lw_context, char *path); -void lw_error(lw_context, failure_kind, const char *fmt, ...); +__attribute__((noreturn)) void lw_error(lw_context, failure_kind, const char *fmt, ...); +__attribute__((noreturn)) void lw_Basis_error(lw_context, lw_Basis_string); char *lw_error_message(lw_context); void *lw_malloc(lw_context, size_t); |