From 84e5576f973d4233e45f58918e6bf978e23d49f0 Mon Sep 17 00:00:00 2001 From: foobar Date: Fri, 6 Apr 2001 18:01:52 +0000 Subject: [PATCH] Killed some compile warnings. --- ext/gd/gd.c | 5 +++++ ext/gd/php_gd.h | 7 ------- 2 files changed, 5 insertions(+), 7 deletions(-) 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 */ -- 2.50.1