summaryrefslogtreecommitdiff
path: root/pngconf.h
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2009-11-09 08:10:22 -0600
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2009-11-09 08:10:22 -0600
commit86645a3f1911af06a2cccc2d76367b518fbb7678 (patch)
tree4dc449a47bd697fec8085b36dc273be33b16a0de /pngconf.h
parentedc3994cfd8551a85f6c76ef036d7b38d873a670 (diff)
downloadlibpng-86645a3f1911af06a2cccc2d76367b518fbb7678.tar.gz
[master] Marked deprecated function prototypes with PNG_DEPRECATED.
Diffstat (limited to 'pngconf.h')
-rw-r--r--pngconf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/pngconf.h b/pngconf.h
index 90cf78db5..d4d05eb00 100644
--- a/pngconf.h
+++ b/pngconf.h
@@ -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