com php-src: Drop ZEND_API from zend_assert_valid_c lass_name: Zend/zend_compile.c Zend/zend_compile .h
[email protected] (Andrea Faulds)
| Newsgroups | php.cvs |
|---|---|
| Message-ID | <[email protected]> |
Commit: 44156b3114246ba91b54472e0040fe7b3d983bd5 Author: Andrea Faulds <[email protected]> Sat, 29 Apr 2017 16:09:08 +0100 Parents: 753ae9b7db364fe8c087faf08cc564e54f4fe574 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=44156b3114246ba91b54472e0040fe7b3d983bd5 Log: Drop ZEND_API from zend_assert_valid_class_name This is a convenience function for internal use and shouldn't have been exported. Changed paths: M Zend/zend_compile.c M Zend/zend_compile.h Diff: diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 35b15b3..462c93b 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -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, diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h index 370a57a..44035a6 100644 --- a/Zend/zend_compile.h +++ b/Zend/zend_compile.h @@ -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 */