Commit ec6cf4c6 authored by Paul Eggert's avatar Paul Eggert

* image.c (my_png_error, my_error_exit): Mark with NO_RETURN.

parent f0c77cd1
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
* image.c (four_corners_best): Mark locals as initialized. * image.c (four_corners_best): Mark locals as initialized.
(gif_load): Initialize transparent_p to zero (Bug#8238). (gif_load): Initialize transparent_p to zero (Bug#8238).
Mark another local as initialized. Mark another local as initialized.
(my_png_error, my_error_exit): Mark with NO_RETURN.
2011-03-11 Paul Eggert <eggert@cs.ucla.edu> 2011-03-11 Paul Eggert <eggert@cs.ucla.edu>
...@@ -5530,6 +5530,7 @@ init_png_functions (Lisp_Object libraries) ...@@ -5530,6 +5530,7 @@ init_png_functions (Lisp_Object libraries)
/* Error and warning handlers installed when the PNG library /* Error and warning handlers installed when the PNG library
is initialized. */ is initialized. */
static void my_png_error (png_struct *, const char *) NO_RETURN;
static void static void
my_png_error (png_struct *png_ptr, const char *msg) my_png_error (png_struct *png_ptr, const char *msg)
{ {
...@@ -6104,6 +6105,7 @@ struct my_jpeg_error_mgr ...@@ -6104,6 +6105,7 @@ struct my_jpeg_error_mgr
}; };
static void my_error_exit (j_common_ptr) NO_RETURN;
static void static void
my_error_exit (j_common_ptr cinfo) my_error_exit (j_common_ptr cinfo)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment