summaryrefslogtreecommitdiff
path: root/pngerror.c
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2011-01-21 23:12:51 -0600
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2011-01-21 23:12:51 -0600
commitb86b4928d64d7d95880403c42491de5b1f15f9c1 (patch)
treea5cc4af36a3efaad3187a939510235cfa606c9e0 /pngerror.c
parent2cb633b915fefb25d5e34c8b317c727a002a7979 (diff)
downloadlibpng-b86b4928d64d7d95880403c42491de5b1f15f9c1.tar.gz
[devel] Added const_png_structp and const_png_infop types, and used them in
prototypes for most png_get_*() functions.
Diffstat (limited to 'pngerror.c')
-rw-r--r--pngerror.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pngerror.c b/pngerror.c
index f209f4659..5fa576965 100644
--- a/pngerror.c
+++ b/pngerror.c
@@ -1,7 +1,7 @@
/* pngerror.c - stub functions for i/o and memory allocation
*
- * Last changed in libpng 1.5.0 [January 6, 2011]
+ * Last changed in libpng 1.5.1 [(PENDING RELEASE)]
* Copyright (c) 1998-2011 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
@@ -423,7 +423,7 @@ png_set_error_fn(png_structp png_ptr, png_voidp error_ptr,
* pointer before png_write_destroy and png_read_destroy are called.
*/
png_voidp PNGAPI
-png_get_error_ptr(png_structp png_ptr)
+png_get_error_ptr(const_png_structp png_ptr)
{
if (png_ptr == NULL)
return NULL;