Skip to content

Commit 20a44af

Browse files
committed
ext/opcache: use zend_result type instead of int
1 parent 1b651db commit 20a44af

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/opcache/zend_accelerator_hash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ zend_accel_hash_entry* zend_accel_hash_find_entry(const zend_accel_hash *accel_h
189189
return (zend_accel_hash_entry *)zend_accel_hash_find_ex(accel_hash, key, false);
190190
}
191191

192-
int zend_accel_hash_unlink(zend_accel_hash *accel_hash, zend_string *key)
192+
zend_result zend_accel_hash_unlink(zend_accel_hash *accel_hash, zend_string *key)
193193
{
194194
zend_ulong hash_value;
195195
zend_ulong index;

ext/opcache/zend_accelerator_hash.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ zend_accel_hash_entry* zend_accel_hash_find_entry(
7979
const zend_accel_hash *accel_hash,
8080
zend_string *key);
8181

82-
int zend_accel_hash_unlink(
82+
zend_result zend_accel_hash_unlink(
8383
zend_accel_hash *accel_hash,
8484
zend_string *key);
8585

0 commit comments

Comments
 (0)