[devel] Added PNG_NORETURN attribute to the png_longjmp() function.

This commit is contained in:
Glenn Randers-Pehrson 2010-02-19 11:26:40 -06:00
parent 81dab093fc
commit 1beadafcc7

3
png.h
View File

@ -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));