diff options
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2009-11-09 08:10:22 -0600 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2009-11-09 08:10:22 -0600 |
commit | 86645a3f1911af06a2cccc2d76367b518fbb7678 (patch) | |
tree | 4dc449a47bd697fec8085b36dc273be33b16a0de /pngconf.h | |
parent | edc3994cfd8551a85f6c76ef036d7b38d873a670 (diff) | |
download | libpng-86645a3f1911af06a2cccc2d76367b518fbb7678.tar.gz |
[master] Marked deprecated function prototypes with PNG_DEPRECATED.
Diffstat (limited to 'pngconf.h')
-rw-r--r-- | pngconf.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1528,9 +1528,6 @@ typedef z_stream FAR * png_zstreamp; * version 1.2.41. */ #ifdef __GNUC__ -# ifndef PNG_DEPRECATED -# define PNG_DEPRECATED __attribute__((__deprecated__)) -# endif # ifndef PNG_USE_RESULT # define PNG_USE_RESULT __attribute__((__warn_unused_result__)) # endif @@ -1546,6 +1543,9 @@ typedef z_stream FAR * png_zstreamp; * accessed from within the library, therefore should be empty during * a library build. */ +# ifndef PNG_DEPRECATED +# define PNG_DEPRECATED __attribute__((__deprecated__)) +# endif # ifndef PNG_DEPSTRUCT # define PNG_DEPSTRUCT __attribute__((__deprecated__)) # endif |