summaryrefslogtreecommitdiff
path: root/Zend/zend_ts_hash.c
diff options
context:
space:
mode:
authorHarald Radi <phanto@php.net>2002-04-23 18:06:54 +0000
committerHarald Radi <phanto@php.net>2002-04-23 18:06:54 +0000
commit51e797f1e36d1261c9bcd00fd21a72af21b5b507 (patch)
treecf6069e0c2f72a49b7d870f36a68700c507379a6 /Zend/zend_ts_hash.c
parentfc851f342ac0cff05fcc520f275e175463865e33 (diff)
downloadphp-git-51e797f1e36d1261c9bcd00fd21a72af21b5b507.tar.gz
some type cleanup work
Diffstat (limited to 'Zend/zend_ts_hash.c')
-rw-r--r--Zend/zend_ts_hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_ts_hash.c b/Zend/zend_ts_hash.c
index 8fe36d3235..f455647da2 100644
--- a/Zend/zend_ts_hash.c
+++ b/Zend/zend_ts_hash.c
@@ -50,7 +50,7 @@ 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, int persistent)
+ZEND_API int zend_ts_hash_init(TsHashTable *ht, uint nSize, hash_func_t pHashFunction, dtor_func_t pDestructor, zend_bool persistent)
{
ht->mx_reader = tsrm_mutex_alloc();
ht->mx_writer = tsrm_mutex_alloc();
@@ -58,7 +58,7 @@ ZEND_API int zend_ts_hash_init(TsHashTable *ht, uint nSize, hash_func_t pHashFun
return zend_hash_init(&(ht->hash), nSize, pHashFunction, pDestructor, persistent);
}
-ZEND_API int zend_ts_hash_init_ex(TsHashTable *ht, uint nSize, hash_func_t pHashFunction, dtor_func_t pDestructor, int persistent, zend_bool bApplyProtection)
+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)
{
ht->mx_reader = tsrm_mutex_alloc();
ht->mx_writer = tsrm_mutex_alloc();