From 1beadafcc7791b5cb1c29c38e9bbe36ba57667e3 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Fri, 19 Feb 2010 11:26:40 -0600 Subject: [PATCH] [devel] Added PNG_NORETURN attribute to the png_longjmp() function. --- png.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/png.h b/png.h index 01bb32d8b..f2384f163 100644 --- a/png.h +++ b/png.h @@ -868,7 +868,8 @@ extern PNG_EXPORT(jmp_buf*, png_set_longjmp_fn) * will use it; otherwise it will call PNG_ABORT(). This function was * added in libpng-1.5.0. */ -extern PNG_EXPORT(void, png_longjmp) PNGARG((png_structp png_ptr, int val)); +extern PNG_EXPORT(void, png_longjmp) PNGARG((png_structp png_ptr, int val)) + PNG_NORETURN ; /* Reset the compression stream */ extern PNG_EXPORT(int,png_reset_zstream) PNGARG((png_structp png_ptr));