]> granicus.if.org Git - php/commitdiff
- Fixed bug #25211 (image.c compile failure with AIX)
authorfoobar <sniper@php.net>
Tue, 9 Sep 2003 19:25:55 +0000 (19:25 +0000)
committerfoobar <sniper@php.net>
Tue, 9 Sep 2003 19:25:55 +0000 (19:25 +0000)
ext/standard/image.c
ext/standard/php_image.h

index 8508ced4d3022e79fcc3fcf94a39f7b4b7be1d4a..366cfe29822e6078031a662e64973f28a6fa4c7a 100644 (file)
@@ -1026,7 +1026,7 @@ static struct gfxinfo *php_handle_xbm(php_stream * stream TSRMLS_DC)
 
 /* {{{ 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:
index 81dc6ad0e5246bc5361222b4e5828d9113f23498..1d3e9038dc1f17035c169c2c2b97759e890fc866 100644 (file)
@@ -57,6 +57,6 @@ PHP_MINIT_FUNCTION(imagetypes);
 
 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 */