From 5905484c757b9691fe4925b6ef220af0dc7476f6 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Wed, 28 Apr 2010 13:21:03 -0500 Subject: [PATCH] [devel] Corrected PNG_REMOVED macro to take five arguments. The macro was documented with two arguments (name,ordinal), however the symbol checking .dfn files assumed five arguments. The five argument form seems more useful so it is changed to that. --- ANNOUNCE | 4 ++++ CHANGES | 4 ++++ pngconf.h | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ANNOUNCE b/ANNOUNCE index 2091b2951..7adcab3a8 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -203,6 +203,10 @@ version 1.5.0beta22 [April 28, 2010] Revised contrib/pngminim to use the "everything off" option in pngusr.dfa. version 1.5.0beta23 [April 28, 2010] + Corrected PNG_REMOVED macro to take five arguments. + The macro was documented with two arguments (name,ordinal), however + the symbol checking .dfn files assumed five arguments. The five + argument form seems more useful so it is changed to that. Send comments/corrections/commendations to png-mng-implement at lists.sf.net: (subscription required; visit diff --git a/CHANGES b/CHANGES index 5a293dfe2..8c8ac0a30 100644 --- a/CHANGES +++ b/CHANGES @@ -2685,6 +2685,10 @@ version 1.5.0beta22 [April 28, 2010] Revised contrib/pngminim to use the "everything off" option in pngusr.dfa. version 1.5.0beta23 [April 28, 2010] + Corrected PNG_REMOVED macro to take five arguments. + The macro was documented with two arguments (name,ordinal), however + the symbol checking .dfn files assumed five arguments. The five + argument form seems more useful so it is changed to that. Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/pngconf.h b/pngconf.h index 570a5f9dd..ed6845742 100644 --- a/pngconf.h +++ b/pngconf.h @@ -271,7 +271,7 @@ /* Use PNG_REMOVED to comment out a removed interface. */ #ifndef PNG_REMOVED -# define PNG_REMOVED(name, ordinal) +# define PNG_REMOVED(type, name, args, attributes, ordinal) #endif #ifndef PNG_CALLBACK