cvs: php4 /ext/gd gd.c php_gd.h

From: Date: Tue, 07 Aug 2001 16:35:35 +0000
Subject: cvs: php4 /ext/gd gd.c php_gd.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-6624@lists.php.net to get a copy of this message
sniper Tue Aug 7 12:35:35 2001 EDT Modified files: /php4/ext/gd gd.c php_gd.h Log: php_sig_gd2 is only needed for GD extension. Index: php4/ext/gd/gd.c diff -u php4/ext/gd/gd.c:1.150 php4/ext/gd/gd.c:1.151 --- php4/ext/gd/gd.c:1.150 Tue Aug 7 12:15:43 2001 +++ php4/ext/gd/gd.c Tue Aug 7 12:35:35 2001 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: gd.c,v 1.150 2001/08/07 16:15:43 sniper Exp $ */ +/* $Id: gd.c,v 1.151 2001/08/07 16:35:35 sniper Exp $ */ /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center, Cold Spring Harbor Labs. */ @@ -937,6 +937,8 @@ /* {{{ _php_image_type */ +static const char php_sig_gd2[3] = {'g', 'd', '2'}; + static int _php_image_type (char data[8]) { #ifdef HAVE_LIBGD15 Index: php4/ext/gd/php_gd.h diff -u php4/ext/gd/php_gd.h:1.34 php4/ext/gd/php_gd.h:1.35 --- php4/ext/gd/php_gd.h:1.34 Tue Aug 7 12:27:29 2001 +++ php4/ext/gd/php_gd.h Tue Aug 7 12:35:35 2001 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_gd.h,v 1.34 2001/08/07 16:27:29 sniper Exp $ */ +/* $Id: php_gd.h,v 1.35 2001/08/07 16:35:35 sniper Exp $ */ #ifndef PHP_GD_H #define PHP_GD_H @@ -56,7 +56,6 @@ PHPAPI extern const char php_sig_gif[3]; PHPAPI extern const char php_sig_jpg[3]; PHPAPI extern const char php_sig_png[3]; -PHPAPI extern const char php_sig_gd2[3] = {'g', 'd', '2'}; extern zend_module_entry gd_module_entry; #define phpext_gd_ptr &gd_module_entry

« previous php.cvs (#6624) next »