diff options
author | Dmitry Stogov <dmitry@zend.com> | 2013-11-28 18:40:46 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2013-11-28 18:40:46 +0400 |
commit | 5d2576264653c2faaca9cd7d64218d10ab612408 (patch) | |
tree | 5c75d8c1c3f1848e67feb11ae876df577b8250c1 /Zend/zend_ts_hash.c | |
parent | 5d6b20f66b2dd3800694c9562c4aafa013af1652 (diff) | |
download | php-git-5d2576264653c2faaca9cd7d64218d10ab612408.tar.gz |
Removed unused "pHashFunction" argument in _zend_hash_init() and family (must be 99% source compatible)
Diffstat (limited to 'Zend/zend_ts_hash.c')
-rw-r--r-- | Zend/zend_ts_hash.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Zend/zend_ts_hash.c b/Zend/zend_ts_hash.c index f517fe8560..337e289156 100644 --- a/Zend/zend_ts_hash.c +++ b/Zend/zend_ts_hash.c @@ -59,24 +59,24 @@ static void end_write(TsHashTable *ht) } /* delegates */ -ZEND_API int _zend_ts_hash_init(TsHashTable *ht, uint nSize, hash_func_t pHashFunction, dtor_func_t pDestructor, zend_bool persistent ZEND_FILE_LINE_DC) +ZEND_API int _zend_ts_hash_init(TsHashTable *ht, uint nSize, dtor_func_t pDestructor, zend_bool persistent ZEND_FILE_LINE_DC) { #ifdef ZTS ht->mx_reader = tsrm_mutex_alloc(); ht->mx_writer = tsrm_mutex_alloc(); ht->reader = 0; #endif - return _zend_hash_init(TS_HASH(ht), nSize, pHashFunction, pDestructor, persistent ZEND_FILE_LINE_RELAY_CC); + return _zend_hash_init(TS_HASH(ht), nSize, pDestructor, persistent ZEND_FILE_LINE_RELAY_CC); } -ZEND_API int _zend_ts_hash_init_ex(TsHashTable *ht, uint nSize, hash_func_t pHashFunction, dtor_func_t pDestructor, zend_bool persistent, zend_bool bApplyProtection ZEND_FILE_LINE_DC) +ZEND_API int _zend_ts_hash_init_ex(TsHashTable *ht, uint nSize, dtor_func_t pDestructor, zend_bool persistent, zend_bool bApplyProtection ZEND_FILE_LINE_DC) { #ifdef ZTS ht->mx_reader = tsrm_mutex_alloc(); ht->mx_writer = tsrm_mutex_alloc(); ht->reader = 0; #endif - return _zend_hash_init_ex(TS_HASH(ht), nSize, pHashFunction, pDestructor, persistent, bApplyProtection ZEND_FILE_LINE_RELAY_CC); + return _zend_hash_init_ex(TS_HASH(ht), nSize, pDestructor, persistent, bApplyProtection ZEND_FILE_LINE_RELAY_CC); } ZEND_API void zend_ts_hash_destroy(TsHashTable *ht) |