@@ -120,7 +120,7 @@ static void php_image_filter_scatter(INTERNAL_FUNCTION_PARAMETERS);
120120/* End Section filters declarations */
121121static gdImagePtr _php_image_create_from_string (zend_string * Data , const char * tn , gdImagePtr (* ioctx_func_p )(gdIOCtxPtr ));
122122static void _php_image_create_from (INTERNAL_FUNCTION_PARAMETERS , int image_type , const char * tn , gdImagePtr (* func_p )(FILE * ), gdImagePtr (* ioctx_func_p )(gdIOCtxPtr ));
123- static void _php_image_output (INTERNAL_FUNCTION_PARAMETERS , int image_type , const char * tn );
123+ static void _php_image_output (INTERNAL_FUNCTION_PARAMETERS , int image_type );
124124static gdIOCtx * create_stream_context (php_stream * stream , int close_stream );
125125static gdIOCtx * create_output_context (zval * to_zval , uint32_t arg_num );
126126static int _php_image_type (zend_string * data );
@@ -1729,7 +1729,7 @@ PHP_FUNCTION(imagecreatefromtga)
17291729/* }}} */
17301730
17311731/* {{{ _php_image_output */
1732- static void _php_image_output (INTERNAL_FUNCTION_PARAMETERS , int image_type , const char * tn )
1732+ static void _php_image_output (INTERNAL_FUNCTION_PARAMETERS , int image_type )
17331733{
17341734 zval * imgind ;
17351735 char * file = NULL ;
@@ -2102,14 +2102,14 @@ PHP_FUNCTION(imagewbmp)
21022102/* {{{ Output GD image to browser or file */
21032103PHP_FUNCTION (imagegd )
21042104{
2105- _php_image_output (INTERNAL_FUNCTION_PARAM_PASSTHRU , PHP_GDIMG_TYPE_GD , "GD" );
2105+ _php_image_output (INTERNAL_FUNCTION_PARAM_PASSTHRU , PHP_GDIMG_TYPE_GD );
21062106}
21072107/* }}} */
21082108
21092109/* {{{ Output GD2 image to browser or file */
21102110PHP_FUNCTION (imagegd2 )
21112111{
2112- _php_image_output (INTERNAL_FUNCTION_PARAM_PASSTHRU , PHP_GDIMG_TYPE_GD2 , "GD2" );
2112+ _php_image_output (INTERNAL_FUNCTION_PARAM_PASSTHRU , PHP_GDIMG_TYPE_GD2 );
21132113}
21142114/* }}} */
21152115
0 commit comments