mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
Drop ZEND_API from zend_assert_valid_class_name
This is a convenience function for internal use and shouldn't have been exported.
This commit is contained in:
parent
753ae9b7db
commit
44156b3114
@ -184,7 +184,7 @@ static zend_bool zend_is_reserved_class_name(const zend_string *name) /* {{{ */
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
ZEND_API void zend_assert_valid_class_name(const zend_string *name) /* {{{ */
|
||||
void zend_assert_valid_class_name(const zend_string *name) /* {{{ */
|
||||
{
|
||||
if (zend_is_reserved_class_name(name)) {
|
||||
zend_error_noreturn(E_COMPILE_ERROR,
|
||||
|
@ -827,7 +827,7 @@ int zendlex(zend_parser_stack_elem *elem);
|
||||
|
||||
int zend_add_literal(zend_op_array *op_array, zval *zv);
|
||||
|
||||
ZEND_API void zend_assert_valid_class_name(const zend_string *const_name);
|
||||
void zend_assert_valid_class_name(const zend_string *const_name);
|
||||
|
||||
/* BEGIN: OPCODES */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user