@@ -137,7 +137,7 @@ static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type,
137
137
static void _php_image_output (INTERNAL_FUNCTION_PARAMETERS , int image_type , char * tn , void (* func_p )());
138
138
static gdIOCtx * create_stream_context_from_zval (zval * to_zval );
139
139
static gdIOCtx * create_stream_context (php_stream * stream , int close_stream );
140
- static gdIOCtx * create_output_context ();
140
+ static gdIOCtx * create_output_context (void );
141
141
static int _php_image_type (char data [12 ]);
142
142
143
143
/* output streaming (formerly gd_ctx.c) */
@@ -217,7 +217,7 @@ void php_gd_assign_libgdimageptr_as_extgdimage(zval *val, gdImagePtr image)
217
217
php_gd_exgdimage_from_zobj_p (Z_OBJ_P (val ))-> image = image ;
218
218
}
219
219
220
- static void php_gd_object_minit_helper ()
220
+ static void php_gd_object_minit_helper (void )
221
221
{
222
222
zend_class_entry ce ;
223
223
INIT_CLASS_ENTRY (ce , "GdImage" , class_GdImage_methods );
@@ -1446,7 +1446,7 @@ static int _php_image_type (char data[12])
1446
1446
/* }}} */
1447
1447
1448
1448
/* {{{ _php_image_create_from_string */
1449
- gdImagePtr _php_image_create_from_string (zend_string * data , char * tn , gdImagePtr (* ioctx_func_p )())
1449
+ gdImagePtr _php_image_create_from_string (zend_string * data , char * tn , gdImagePtr (* ioctx_func_p )(gdIOCtx * infile ))
1450
1450
{
1451
1451
gdImagePtr im ;
1452
1452
gdIOCtx * io_ctx ;
0 commit comments