]> granicus.if.org Git - php/commitdiff
Killed some compile warnings.
authorfoobar <sniper@php.net>
Fri, 6 Apr 2001 18:01:52 +0000 (18:01 +0000)
committerfoobar <sniper@php.net>
Fri, 6 Apr 2001 18:01:52 +0000 (18:01 +0000)
ext/gd/gd.c
ext/gd/php_gd.h

index 5c47e43a8a70157b2038b435abf51d1b2a182ba0..8afe28ad53d55c5750b3919e54880dace30674ee 100644 (file)
@@ -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
index d1c7f90f4a22a3f5e028f34fe66a8b329033d8ab..747850c6e9a904740d98a759f590b3baeef4b1e9 100644 (file)
@@ -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 */