diff options
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2010-03-08 21:10:25 -0600 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2010-03-08 21:10:25 -0600 |
commit | c3cd22b40434c70a55316b91d57c35af9c34a041 (patch) | |
tree | 378ac0f2de57f9f06f2635b826495addfe583f85 /pngwtran.c | |
parent | b709c4aedce610f70f934abe7d85fbe888d6b4e8 (diff) | |
download | libpng-c3cd22b40434c70a55316b91d57c35af9c34a041.tar.gz |
[devel] Moved "#include png.h" inside pngpriv.h and removed "#include png.h"
from the source files, along with "#define PNG_EXPOSE_INTERNAL_STRUCTURES"
and "#define PNG_NO_PEDANTIC_WARNINGS" (John Bowler).
Also created new pngdebug.h and moved debug definitions there.
Diffstat (limited to 'pngwtran.c')
-rw-r--r-- | pngwtran.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pngwtran.c b/pngwtran.c index bda4a6331..0f9644a07 100644 --- a/pngwtran.c +++ b/pngwtran.c @@ -11,12 +11,10 @@ * and license in png.h */ -#define PNG_EXPOSE_INTERNAL_STRUCTURES -#define PNG_NO_PEDANTIC_WARNINGS -#include "png.h" -#ifdef PNG_WRITE_SUPPORTED #include "pngpriv.h" +#ifdef PNG_WRITE_SUPPORTED + /* Transform the data according to the user's wishes. The order of * transformations is significant. */ |