We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d66eeb commit 446567cCopy full SHA for 446567c
Zend/zend_execute_locks.h
@@ -3,14 +3,14 @@
3
4
#define PZVAL_LOCK(z) zend_pzval_lock_func(z)
5
6
-static inline zend_pzval_lock_func(zval *z)
+static inline void zend_pzval_lock_func(zval *z)
7
{
8
((z)->refcount++);
9
}
10
11
#define PZVAL_UNLOCK(z) zend_pzval_unlock_func(z ELS_CC)
12
13
-static inline zend_pzval_unlock_func(zval *z ELS_DC)
+static inline void zend_pzval_unlock_func(zval *z ELS_DC)
14
15
((z)->refcount--);
16
if (!(z)->refcount) {
@@ -20,7 +20,7 @@ static inline zend_pzval_unlock_func(zval *z ELS_DC)
20
21
22
23
-static inline zend_clean_garbage(ELS_D)
+static inline void zend_clean_garbage(ELS_D)
24
25
while (EG(garbage_ptr)) {
26
zval_ptr_dtor(&EG(garbage)[--EG(garbage_ptr)]);
0 commit comments