com php-src: Remove extra unused functions from gd_compat.h : ext/gd/libgd/gd_compat.h
| From: | Remi Collet | Date: | Sat, 04 May 2013 14:50:11 +0000 |
| Subject: | com php-src: Remove extra unused functions from gd_compat.h : ext/gd/libgd/gd_compat.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-72116@lists.php.net to get a copy of this message | ||
Commit: e6704501f8ab56d661f37c4e70b0b9e442ca5ed2
Author: Ondřej Surý <ondrej@sury.org> Fri, 3 May 2013 15:26:14 +0200
Committer: Remi Collet <remi@php.net> Sat, 4 May 2013 16:50:11 +0200
Parents: 5e9c6c3b644b290255fb10c8eb34778665c2f8a3
Branches: PHP-5.5
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e6704501f8ab56d661f37c4e70b0b9e442ca5ed2
Log:
Remove extra unused functions from gd_compat.h
Changed paths:
M ext/gd/libgd/gd_compat.h
Diff:
diff --git a/ext/gd/libgd/gd_compat.h b/ext/gd/libgd/gd_compat.h
index f6e00d7..13fff2b 100644
--- a/ext/gd/libgd/gd_compat.h
+++ b/ext/gd/libgd/gd_compat.h
@@ -11,58 +11,4 @@ const char * gdPngGetVersionString();
const char * gdJpegGetVersionString();
int gdJpegGetVersionInt();
-#if !defined(HAVE_LIBGD21)
-
-/* filters section
- *
- * Negate the imag src, white becomes black,
- * The red, green, and blue intensities of an image are negated.
- * White becomes black, yellow becomes blue, etc.
- */
-int gdImageNegate(gdImagePtr src);
-
-/* Convert the image src to a grayscale image */
-int gdImageGrayScale(gdImagePtr src);
-
-/* Set the brightness level <brightness> for the image src */
-int gdImageBrightness(gdImagePtr src, int brightness);
-
-/* Set the contrast level <contrast> for the image <src> */
-int gdImageContrast(gdImagePtr src, double contrast);
-
-/* Simply adds or substracts respectively red, green or blue to a pixel */
-int gdImageColor(gdImagePtr src, const int red, const int green, const int blue, const int alpha);
-
-#if !defined(HAVE_GD_IMAGE_CONVOLUTION)
-/* Image convolution by a 3x3 custom matrix */
-int gdImageConvolution(gdImagePtr src, float ft[3][3], float filter_div, float offset);
-int gdImageEdgeDetectQuick(gdImagePtr src);
-int gdImageGaussianBlur(gdImagePtr im);
-int gdImageSelectiveBlur( gdImagePtr src);
-int gdImageEmboss(gdImagePtr im);
-int gdImageMeanRemoval(gdImagePtr im);
-int gdImageSmooth(gdImagePtr im, float weight);
-#endif
-
-#if !defined(HAVE_GD_IMAGE_PIXELATE)
-enum gdPixelateMode {
- GD_PIXELATE_UPPERLEFT,
- GD_PIXELATE_AVERAGE
-};
-
-int gdImagePixelate(gdImagePtr im, int block_size, const unsigned int mode);
-#endif
-
-int gdImagePixelate(gdImagePtr im, int block_size, const unsigned int mode);
-
-#if !HAVE_GD_IMAGEELLIPSE
-void gdImageEllipse(gdImagePtr im, int cx, int cy, int w, int h, int c);
-#endif
-
-gdImagePtr gdImageRotate (gdImagePtr src, double dAngle, int clrBack, int ignoretransparent);
-
-int gdImageColorMatch (gdImagePtr im1, gdImagePtr im2);
-
-#endif /* !HAVE_LIBGD21 */
-
#endif /* GD_COMPAT_H */