diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 65a183efdc7..edde8746e97 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -1023,7 +1023,7 @@ void do_return(znode *expr, int do_end_vparse CLS_DC) } -void function_add_ref(zend_function *function) +ZEND_API void function_add_ref(zend_function *function) { if (function->type == ZEND_USER_FUNCTION) { zend_op_array *op_array = &function->op_array; diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h index b89ae9daa90..4bb716cc8bb 100644 --- a/Zend/zend_compile.h +++ b/Zend/zend_compile.h @@ -365,7 +365,7 @@ void do_extended_fcall_end(CLS_D); void do_ticks(CLS_D); -void function_add_ref(zend_function *function); +ZEND_API void function_add_ref(zend_function *function); #define INITIAL_OP_ARRAY_SIZE 64