sniper Fri Apr 6 11:01:52 2001 EDT
Modified files:
/php4/ext/gd gd.c php_gd.h
Log:
Killed some compile warnings.
Index: php4/ext/gd/gd.c
diff -u php4/ext/gd/gd.c:1.120 php4/ext/gd/gd.c:1.121
--- php4/ext/gd/gd.c:1.120 Sat Mar 31 22:20:45 2001
+++ php4/ext/gd/gd.c Fri Apr 6 11:01:52 2001
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: gd.c,v 1.120 2001/04/01 06:20:45 sniper Exp $ */
+/* $Id: gd.c,v 1.121 2001/04/06 18:01:52 sniper Exp $ */
/* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
Cold Spring Harbor Labs. */
@@ -92,6 +92,11 @@
#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: php4/ext/gd/php_gd.h
diff -u php4/ext/gd/php_gd.h:1.25 php4/ext/gd/php_gd.h:1.26
--- php4/ext/gd/php_gd.h:1.25 Sat Mar 31 21:42:07 2001
+++ php4/ext/gd/php_gd.h Fri Apr 6 11:01:52 2001
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_gd.h,v 1.25 2001/04/01 05:42:07 sniper Exp $ */
+/* $Id: php_gd.h,v 1.26 2001/04/06 18:01:52 sniper Exp $ */
#ifndef PHP_GD_H
#define PHP_GD_H
@@ -142,13 +142,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);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]