From: foobar Date: Fri, 6 Apr 2001 18:01:52 +0000 (+0000) Subject: Killed some compile warnings. X-Git-Tag: php-4.0.6RC1~468 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=84e5576f973d4233e45f58918e6bf978e23d49f0;p=php Killed some compile warnings. --- diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 5c47e43a8a..8afe28ad53 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -92,6 +92,11 @@ typedef FILE gdIOCtx; #define CTX_PUTC(c,fp) fputc(c, fp) #endif +gdImagePtr _php_image_create_from_string ( zval **Data, char *tn, gdImagePtr (*ioctx_func_p)() ); +static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()); +static void _php_image_output(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, void (*func_p)()); +static int _php_image_type ( char data[8] ); +static void _php_image_convert(INTERNAL_FUNCTION_PARAMETERS, int image_type); static void _php_image_bw_convert(gdImagePtr im_org, gdIOCtx *out, int threshold); #ifdef THREAD_SAFE diff --git a/ext/gd/php_gd.h b/ext/gd/php_gd.h index d1c7f90f4a..747850c6e9 100644 --- a/ext/gd/php_gd.h +++ b/ext/gd/php_gd.h @@ -143,13 +143,6 @@ PHP_FUNCTION(jpeg2wbmp); PHP_FUNCTION(png2wbmp); PHP_FUNCTION(image2wbmp); - -gdImagePtr _php_image_create_from_string ( zval **Data, char *tn, gdImagePtr (*ioctx_func_p)() ); -static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()); -static void _php_image_output(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, void (*func_p)()); -static int _php_image_type ( char data[8] ); -static void _php_image_convert(INTERNAL_FUNCTION_PARAMETERS, int image_type); - PHPAPI int phpi_get_le_gd(void); /* This is missing from gd.h */