| @@ -467,11 +467,6 @@ | |||||
| #ifndef PNG_VERSION_INFO_ONLY | #ifndef PNG_VERSION_INFO_ONLY | ||||
| /* Inhibit C++ name-mangling for libpng functions but not for system calls. */ | |||||
| #ifdef __cplusplus | |||||
| extern "C" { | |||||
| #endif /* __cplusplus */ | |||||
| /* Version information for C files, stored in png.c. This had better match | /* Version information for C files, stored in png.c. This had better match | ||||
| * the version above. | * the version above. | ||||
| */ | */ | ||||
| @@ -3292,10 +3287,6 @@ PNG_EXPORT(244, int, png_set_option, (png_structrp png_ptr, int option, | |||||
| PNG_EXPORT_LAST_ORDINAL(244); | PNG_EXPORT_LAST_ORDINAL(244); | ||||
| #endif | #endif | ||||
| #ifdef __cplusplus | |||||
| } | |||||
| #endif | |||||
| #endif /* PNG_VERSION_INFO_ONLY */ | #endif /* PNG_VERSION_INFO_ONLY */ | ||||
| /* Do not put anything past this line */ | /* Do not put anything past this line */ | ||||
| #endif /* PNG_H */ | #endif /* PNG_H */ | ||||
| @@ -720,11 +720,6 @@ PNG_INTERNAL_DATA(const png_byte, png_sRGB_delta, [512]); | |||||
| #endif /* PNG_SIMPLIFIED_READ/WRITE */ | #endif /* PNG_SIMPLIFIED_READ/WRITE */ | ||||
| /* Inhibit C++ name-mangling for libpng functions but not for system calls. */ | |||||
| #ifdef __cplusplus | |||||
| extern "C" { | |||||
| #endif /* __cplusplus */ | |||||
| /* Internal functions; these are not exported from a DLL however because they | /* Internal functions; these are not exported from a DLL however because they | ||||
| * are used within several of the C source files they have to be C extern. | * are used within several of the C source files they have to be C extern. | ||||
| * | * | ||||
| @@ -1905,9 +1900,5 @@ PNG_INTERNAL_FUNCTION(void, PNG_FILTER_OPTIMIZATIONS, (png_structp png_ptr, | |||||
| //#include "pngdebug.h" | //#include "pngdebug.h" | ||||
| #ifdef __cplusplus | |||||
| } | |||||
| #endif | |||||
| #endif /* PNG_VERSION_INFO_ONLY */ | #endif /* PNG_VERSION_INFO_ONLY */ | ||||
| #endif /* PNGPRIV_H */ | #endif /* PNGPRIV_H */ | ||||