Skip to content

Commit 29eae4e

Browse files
committed
Zend: mark zend_free_internal_arg_info() static
Previously it was by the disable_classes INI, as this no longer exists there is no need to expose it.
1 parent 19deb91 commit 29eae4e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Zend/zend_compile.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,6 @@ ZEND_API ZEND_COLD void zend_user_exception_handler(void);
976976
} \
977977
} while (0)
978978

979-
void zend_free_internal_arg_info(zend_internal_function *function);
980979
ZEND_API void destroy_zend_function(zend_function *function);
981980
ZEND_API void zend_function_dtor(zval *zv);
982981
ZEND_API void destroy_zend_class(zval *zv);

Zend/zend_opcode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ ZEND_API void zend_type_release(zend_type type, bool persistent) {
124124
}
125125
}
126126

127-
void zend_free_internal_arg_info(zend_internal_function *function) {
127+
static void zend_free_internal_arg_info(zend_internal_function *function) {
128128
if ((function->fn_flags & (ZEND_ACC_HAS_RETURN_TYPE|ZEND_ACC_HAS_TYPE_HINTS)) &&
129129
function->arg_info) {
130130

0 commit comments

Comments
 (0)