Skip to content

Commit 9c477bc

Browse files
committed
Zend Inheritence
1 parent d532048 commit 9c477bc

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Zend/zend_inheritance.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1401,8 +1401,6 @@ ZEND_API void zend_do_inheritance_ex(zend_class_entry *ce, zend_class_entry *par
14011401
}
14021402
/* }}} */
14031403

1404-
extern ZEND_API inline void zend_do_inheritance(zend_class_entry *ce, zend_class_entry *parent_ce);
1405-
14061404
static zend_bool do_inherit_constant_check(HashTable *child_constants_table, zend_class_constant *parent_constant, zend_string *name, const zend_class_entry *iface) /* {{{ */
14071405
{
14081406
zval *zv = zend_hash_find_ex(child_constants_table, name, 1);

Zend/zend_inheritance.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ BEGIN_EXTERN_C()
2727
ZEND_API void zend_do_implement_interface(zend_class_entry *ce, zend_class_entry *iface);
2828
ZEND_API void zend_do_inheritance_ex(zend_class_entry *ce, zend_class_entry *parent_ce, zend_bool checked);
2929

30-
ZEND_API inline void zend_do_inheritance(zend_class_entry *ce, zend_class_entry *parent_ce) {
30+
static inline void zend_do_inheritance(zend_class_entry *ce, zend_class_entry *parent_ce) {
3131
zend_do_inheritance_ex(ce, parent_ce, 0);
3232
}
3333

0 commit comments

Comments
 (0)