diff --git a/ANNOUNCE b/ANNOUNCE index 80cdb4fbb..37f1cafec 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -656,6 +656,7 @@ version 1.4.0beta96 [November 12, 2009] Removed recently removed function names from scripts/*.def Revised pngtest.png to put chunks in the same order written by pngtest (evidently the same change made in libpng-1.0beta54 was lost). + Added PNG_PRIVATE macro definition in pngconf.h for possible future use. Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/CHANGES b/CHANGES index 4a5c02377..467fe6d3f 100644 --- a/CHANGES +++ b/CHANGES @@ -2342,6 +2342,7 @@ version 1.4.0beta96 [November 12, 2009] Removed recently removed function names from scripts/*.def Revised pngtest.png to put chunks in the same order written by pngtest (evidently the same change made in libpng-1.0beta54 was lost). + Added PNG_PRIVATE macro definition in pngconf.h for possible future use. Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/pngconf.h b/pngconf.h index ad9b48338..a47f559d0 100644 --- a/pngconf.h +++ b/pngconf.h @@ -1312,6 +1312,9 @@ typedef char FAR * FAR * FAR * png_charppp; # ifndef PNG_DEPSTRUCT # define PNG_DEPSTRUCT __attribute__((__deprecated__)) # endif +# ifndef PNG_PRIVATE +# define PNG_PRIVATE __attribute__((__deprecated__)) +# endif # endif #endif @@ -1330,6 +1333,9 @@ typedef char FAR * FAR * FAR * png_charppp; #ifndef PNG_DEPSTRUCT # define PNG_DEPSTRUCT /* Access to this struct member is deprecated */ #endif +#ifndef PNG_PRIVATE +# define PNG_PRIVATE /* This is a private libpng function */ +#endif /* Users may want to use these so they are not private. Any library * functions that are passed far data must be model-independent.