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:
Andrea Faulds 2017-04-29 16:09:08 +01:00
parent 753ae9b7db
commit 44156b3114
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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 */