[devel] Removed two new incorrect typedefs in png.h

This commit is contained in:
Glenn Randers-Pehrson 2010-02-08 05:41:30 -06:00
parent e00ed36d71
commit 0014f3de55

3
png.h
View File

@ -595,7 +595,6 @@ typedef png_unknown_chunk FAR * FAR * png_unknown_chunkpp;
#ifdef PNG_INTERNAL
#include "pnginfo.h"
#else
typedef struct { ; } png_info_struct;
typedef struct png_info_struct png_info;
#endif
@ -788,8 +787,6 @@ typedef void (*png_free_ptr) PNGARG((png_structp, png_voidp));
#ifdef PNG_INTERNAL
#include "pngstruct.h"
#else
typedef struct { ; } png_struct_def;
#endif
/* This triggers a compiler error in png.c, if png.c and png.h