[devel] Added const_png_structp and const_png_infop types, and used them in

prototypes for most png_get_*() functions.
This commit is contained in:
Glenn Randers-Pehrson
2011-01-21 23:12:51 -06:00
parent 2cb633b915
commit b86b4928d6
11 changed files with 232 additions and 202 deletions

View File

@@ -1786,7 +1786,7 @@ png_set_progressive_read_fn(png_structp png_ptr, png_voidp progressive_ptr,
}
png_voidp PNGAPI
png_get_progressive_ptr(png_structp png_ptr)
png_get_progressive_ptr(const_png_structp png_ptr)
{
if (png_ptr == NULL)
return (NULL);