diff options
| author | Zeev Suraski <zeev@php.net> | 2000-01-17 17:33:37 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2000-01-17 17:33:37 +0000 |
| commit | 62114c18068610dc02b7a28e74d3d2957e3315fd (patch) | |
| tree | 53dc05ad4216381535f5985c6f615a432785b962 /Zend/zend_compile.c | |
| parent | ec386cc9fde380aaa4af823e75950365d8bb98da (diff) | |
| download | php-git-62114c18068610dc02b7a28e74d3d2957e3315fd.tar.gz | |
Destructors no longer return ints, the low level problem it was intended to solve is long gone now...
Diffstat (limited to 'Zend/zend_compile.c')
| -rw-r--r-- | Zend/zend_compile.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index badda32a90..48f5eafcde 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -79,10 +79,9 @@ static void build_runtime_defined_function_key(zval *result, zval *name, zend_op } -static int zend_open_file_dtor_wrapper(zend_file_handle *fh) +static void zend_open_file_dtor_wrapper(zend_file_handle *fh) { zend_open_file_dtor(fh); - return 1; } @@ -104,7 +103,7 @@ void init_compiler(CLS_D ELS_DC) init_resource_list(ELS_C); CG(unclean_shutdown) = 0; zend_llist_init(&CG(open_files), sizeof(zend_file_handle), (void (*)(void *)) zend_open_file_dtor, 0); - zend_hash_init(&CG(used_files), 5, NULL, (int (*)(void *)) zend_open_file_dtor_wrapper, 0); + zend_hash_init(&CG(used_files), 5, NULL, (void (*)(void *)) zend_open_file_dtor_wrapper, 0); } |
