Skip to content

Commit 446567c

Browse files
committed
Fix warnings
1 parent 7d66eeb commit 446567c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Zend/zend_execute_locks.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33

44
#define PZVAL_LOCK(z) zend_pzval_lock_func(z)
55

6-
static inline zend_pzval_lock_func(zval *z)
6+
static inline void zend_pzval_lock_func(zval *z)
77
{
88
((z)->refcount++);
99
}
1010

1111
#define PZVAL_UNLOCK(z) zend_pzval_unlock_func(z ELS_CC)
1212

13-
static inline zend_pzval_unlock_func(zval *z ELS_DC)
13+
static inline void zend_pzval_unlock_func(zval *z ELS_DC)
1414
{
1515
((z)->refcount--);
1616
if (!(z)->refcount) {
@@ -20,7 +20,7 @@ static inline zend_pzval_unlock_func(zval *z ELS_DC)
2020
}
2121
}
2222

23-
static inline zend_clean_garbage(ELS_D)
23+
static inline void zend_clean_garbage(ELS_D)
2424
{
2525
while (EG(garbage_ptr)) {
2626
zval_ptr_dtor(&EG(garbage)[--EG(garbage_ptr)]);

0 commit comments

Comments
 (0)