diff options
| author | Dmitry Stogov <dmitry@php.net> | 2007-09-27 18:28:44 +0000 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@php.net> | 2007-09-27 18:28:44 +0000 |
| commit | 8146078f7bbbe4f4799e1a154ea450c90c855728 (patch) | |
| tree | 46cb160985407d24ff3a9d485a90e88fee4cdbb6 /ext/zlib/zlib.c | |
| parent | 98a2c03808f73be0c08bfe654b985483ccb8d6bc (diff) | |
| download | php-git-8146078f7bbbe4f4799e1a154ea450c90c855728.tar.gz | |
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
Diffstat (limited to 'ext/zlib/zlib.c')
| -rw-r--r-- | ext/zlib/zlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c index 392b7a95f4..025657dc3e 100644 --- a/ext/zlib/zlib.c +++ b/ext/zlib/zlib.c @@ -608,7 +608,7 @@ ZEND_GET_MODULE(php_zlib) #endif /* {{{ php_zlib_functions[] */ -zend_function_entry php_zlib_functions[] = { +const zend_function_entry php_zlib_functions[] = { PHP_FE(readgzfile, NULL) PHP_FALIAS(gzrewind, rewind, NULL) PHP_FALIAS(gzclose, fclose, NULL) |
