summaryrefslogtreecommitdiff
path: root/ext/rpc/com/variant.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/rpc/com/variant.c')
-rw-r--r--ext/rpc/com/variant.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/rpc/com/variant.c b/ext/rpc/com/variant.c
index af435bacbd..8f9ebd0e2d 100644
--- a/ext/rpc/com/variant.c
+++ b/ext/rpc/com/variant.c
@@ -42,7 +42,7 @@ void php_VARIANT_call_function_handler(INTERNAL_FUNCTION_PARAMETERS, zend_proper
pval php_VARIANT_get_property_handler(zend_property_reference *property_reference);
static int do_VARIANT_propset(VARIANT *var_arg, pval *arg_property, pval *value);
void php_register_VARIANT_class();
-static void php_variant_destructor(zend_rsrc_list_entry *rsrc);
+static void php_variant_destructor(zend_rsrc_list_entry *rsrc TSRMLS_DC);
void php_register_VARIANT_class();
static int le_variant;
@@ -423,7 +423,7 @@ static int do_VARIANT_propset(VARIANT *var_arg, pval *arg_property, pval *value)
return SUCCESS;
}
-static void php_variant_destructor(zend_rsrc_list_entry *rsrc)
+static void php_variant_destructor(zend_rsrc_list_entry *rsrc TSRMLS_DC)
{
efree(rsrc);
}