Fix build with gcc41

This commit is contained in:
Tilman Keskinoz 2006-12-22 17:07:07 +00:00
parent 29169020ac
commit 26cbccf955
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=180509
3 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- common/plpgmdec.h.orig Fri Dec 22 17:54:22 2006
+++ common/plpgmdec.h Fri Dec 22 18:00:19 2006
@@ -72,7 +72,7 @@
PLDataSource * pDataSrc
);
- PLBYTE PLPGMDecoder::readASCIIPixel8
+ PLBYTE readASCIIPixel8
( int MaxGrayValue,
PLDataSource * pDataSrc
);

View File

@ -0,0 +1,17 @@
--- common/plpngdec.h.orig Fri Dec 22 17:53:56 2006
+++ common/plpngdec.h Fri Dec 22 17:59:29 2006
@@ -49,12 +49,12 @@
private:
- static void PLPNGDecoder::user_error_fn
+ static void user_error_fn
( png_structp png_ptr,
png_const_charp error_msg
);
- static void PLPNGDecoder::user_warning_fn
+ static void user_warning_fn
( png_structp png_ptr,
png_const_charp warning_msg
);

View File

@ -0,0 +1,11 @@
--- common/plppmdec.h.orig Fri Dec 22 17:54:44 2006
+++ common/plppmdec.h Fri Dec 22 18:01:20 2006
@@ -78,7 +78,7 @@
);
- PLPixel32 PLPPMDecoder::readASCIIPixel32
+ PLPixel32 readASCIIPixel32
( int MaxGrayValue,
PLDataSource * pDataSrc
);