diff --git a/ANNOUNCE b/ANNOUNCE index 704eb92c2..806ead999 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -1,5 +1,5 @@ -Libpng 1.4.6beta06 - March 8, 2011 +Libpng 1.4.6beta06 - March 14, 2011 This is not intended to be a public release. It will be replaced within a few weeks by a public version or by another test version. @@ -49,9 +49,9 @@ version 1.4.6beta05 [January 23, 2011] Fixed a typo in the *.def files and deleted entries that are now declared in pngpriv.h -version 1.4.6beta06 [March 8, 2011] +version 1.4.6beta06 [March 14, 2011] Updated contrib/pngsuite/README to add the word "modify". - Added the private PNG_UNUSED() macro definition in pngpriv.h. + Added the private PNG_UNUSED() macro definition in pngconf.h. Send comments/corrections/commendations to glennrp at users.sourceforge.net or to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/CHANGES b/CHANGES index c60235c60..854e32c1a 100644 --- a/CHANGES +++ b/CHANGES @@ -2761,9 +2761,9 @@ version 1.4.6beta05 [January 23, 2011] Fixed a typo in the *.def files and deleted entries that are now declared in pngpriv.h -version 1.4.6beta06 [March 8, 2011] +version 1.4.6beta06 [March 14, 2011] Updated contrib/pngsuite/README to add the word "modify". - Added the private PNG_UNUSED() macro definition in pngpriv.h. + Added the private PNG_UNUSED() macro definition in pngconf.h. Send comments/corrections/commendations to glennrp at users.sourceforge.net or to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/pngconf.h b/pngconf.h index 2040ecad6..cf9f78a49 100644 --- a/pngconf.h +++ b/pngconf.h @@ -1,7 +1,7 @@ /* pngconf.h - machine configurable file for libpng * - * libpng version 1.4.6beta06 - January 23, 2011 + * libpng version 1.4.6beta06 - March 14, 2011 * For conditions of distribution and use, see copyright notice in png.h * Copyright (c) 1998-2011 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) @@ -84,6 +84,18 @@ /* End of material added to libpng-1.2.8 */ +/* Added at libpng-1.4.6 */ +#ifndef PNG_UNUSED +/* Unused formal parameter warnings are silenced using the following macro + * which is expected to have no bad effects on performance (optimizing + * compilers will probably remove it entirely). Note that if you replace + * it with something other than whitespace, you must include the terminating + * semicolon. + */ +# define PNG_UNUSED(param) (void)param; +#endif +/* End of material added to libpng-1.4.6 */ + #ifndef PNG_VERSION_INFO_ONLY /* This is the size of the compression buffer, and thus the size of