mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
ext/opcache: use zend_result type instead of int
This commit is contained in:
@@ -189,7 +189,7 @@ zend_accel_hash_entry* zend_accel_hash_find_entry(const zend_accel_hash *accel_h
|
||||
return (zend_accel_hash_entry *)zend_accel_hash_find_ex(accel_hash, key, false);
|
||||
}
|
||||
|
||||
int zend_accel_hash_unlink(zend_accel_hash *accel_hash, zend_string *key)
|
||||
zend_result zend_accel_hash_unlink(zend_accel_hash *accel_hash, zend_string *key)
|
||||
{
|
||||
zend_ulong hash_value;
|
||||
zend_ulong index;
|
||||
|
||||
@@ -79,7 +79,7 @@ zend_accel_hash_entry* zend_accel_hash_find_entry(
|
||||
const zend_accel_hash *accel_hash,
|
||||
zend_string *key);
|
||||
|
||||
int zend_accel_hash_unlink(
|
||||
zend_result zend_accel_hash_unlink(
|
||||
zend_accel_hash *accel_hash,
|
||||
zend_string *key);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user