From: Paul Eggert Date: Sun, 13 Mar 2011 08:04:44 +0000 (-0800) Subject: * image.c (my_png_error, my_error_exit): Mark with NO_RETURN. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~597 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ec6cf4c6ff2e43e3f42a2efe2759bc0c18b680cb;p=emacs.git * image.c (my_png_error, my_error_exit): Mark with NO_RETURN. --- diff --git a/src/ChangeLog b/src/ChangeLog index 2a2ef75a316..45ee0125eeb 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -3,6 +3,7 @@ * image.c (four_corners_best): Mark locals as initialized. (gif_load): Initialize transparent_p to zero (Bug#8238). Mark another local as initialized. + (my_png_error, my_error_exit): Mark with NO_RETURN. 2011-03-11 Paul Eggert diff --git a/src/image.c b/src/image.c index a4be1d1b898..7584f9bb2c0 100644 --- a/src/image.c +++ b/src/image.c @@ -5530,6 +5530,7 @@ init_png_functions (Lisp_Object libraries) /* Error and warning handlers installed when the PNG library is initialized. */ +static void my_png_error (png_struct *, const char *) NO_RETURN; static void my_png_error (png_struct *png_ptr, const char *msg) { @@ -6104,6 +6105,7 @@ struct my_jpeg_error_mgr }; +static void my_error_exit (j_common_ptr) NO_RETURN; static void my_error_exit (j_common_ptr cinfo) {