cvs: php-src /ext/standard image.c php_image.h

From: Date: Tue, 09 Sep 2003 19:25:56 +0000
Subject: cvs: php-src /ext/standard image.c php_image.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-23709@lists.php.net to get a copy of this message
sniper Tue Sep 9 15:25:56 2003 EDT Modified files: /php-src/ext/standard php_image.h image.c Log: - Fixed bug #25211 (image.c compile failure with AIX) Index: php-src/ext/standard/php_image.h diff -u php-src/ext/standard/php_image.h:1.25 php-src/ext/standard/php_image.h:1.26 --- php-src/ext/standard/php_image.h:1.25 Tue Jun 10 16:03:38 2003 +++ php-src/ext/standard/php_image.h Tue Sep 9 15:25:55 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_image.h,v 1.25 2003/06/10 20:03:38 imajes Exp $ */ +/* $Id: php_image.h,v 1.26 2003/09/09 19:25:55 sniper Exp $ */ #ifndef PHP_IMAGE_H #define PHP_IMAGE_H @@ -57,6 +57,6 @@ PHPAPI int php_getimagetype(php_stream *stream, char *filetype TSRMLS_DC); -PHPAPI const char * php_image_type_to_mime_type(int image_type); +PHPAPI char * php_image_type_to_mime_type(int image_type); #endif /* PHP_IMAGE_H */ Index: php-src/ext/standard/image.c diff -u php-src/ext/standard/image.c:1.92 php-src/ext/standard/image.c:1.93 --- php-src/ext/standard/image.c:1.92 Tue Jun 10 16:03:37 2003 +++ php-src/ext/standard/image.c Tue Sep 9 15:25:55 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: image.c,v 1.92 2003/06/10 20:03:37 imajes Exp $ */ +/* $Id: image.c,v 1.93 2003/09/09 19:25:55 sniper Exp $ */ #include "php.h" #include <stdio.h> @@ -1026,7 +1026,7 @@ /* {{{ php_image_type_to_mime_type * Convert internal image_type to mime type */ -PHPAPI const char * php_image_type_to_mime_type(int image_type) +PHPAPI char * php_image_type_to_mime_type(int image_type) { switch( image_type) { case IMAGE_FILETYPE_GIF:

« previous php.cvs (#23709) next »