1
0
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:
Gina Peter Banyard
2025-10-03 15:35:26 +01:00
parent 1b651dbc9e
commit 20a44af376
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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);