diff options
| author | Harald Radi <phanto@php.net> | 2002-04-23 18:06:54 +0000 |
|---|---|---|
| committer | Harald Radi <phanto@php.net> | 2002-04-23 18:06:54 +0000 |
| commit | 51e797f1e36d1261c9bcd00fd21a72af21b5b507 (patch) | |
| tree | cf6069e0c2f72a49b7d870f36a68700c507379a6 /Zend/zend_ts_hash.c | |
| parent | fc851f342ac0cff05fcc520f275e175463865e33 (diff) | |
| download | php-git-51e797f1e36d1261c9bcd00fd21a72af21b5b507.tar.gz | |
some type cleanup work
Diffstat (limited to 'Zend/zend_ts_hash.c')
| -rw-r--r-- | Zend/zend_ts_hash.c | 4 |
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(); |
