gdk loaders: Add noreturn attribtues where appropriate

This commit is contained in:
Timm Bäder 2021-09-19 11:00:07 +02:00
parent b7ad3bcf96
commit 1efccfcced
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ struct error_handler_data {
GError **error; GError **error;
}; };
static void G_GNUC_NORETURN static void
fatal_error_handler (j_common_ptr cinfo) fatal_error_handler (j_common_ptr cinfo)
{ {
struct error_handler_data *errmgr; struct error_handler_data *errmgr;

View File

@ -106,7 +106,7 @@ png_free_callback (png_structp o,
g_free (x); g_free (x);
} }
static void G_GNUC_NORETURN static void
png_simple_error_callback (png_structp png, png_simple_error_callback (png_structp png,
png_const_charp error_msg) png_const_charp error_msg)
{ {