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/mcrypt/mcrypt.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/mcrypt/mcrypt.c')
-rw-r--r-- | ext/mcrypt/mcrypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mcrypt/mcrypt.c b/ext/mcrypt/mcrypt.c index 6cc9a679e8..0b5b89acd4 100644 --- a/ext/mcrypt/mcrypt.c +++ b/ext/mcrypt/mcrypt.c @@ -44,7 +44,7 @@ typedef struct _php_mcrypt { zend_bool init; } php_mcrypt; -zend_function_entry mcrypt_functions[] = { /* {{{ */ +const zend_function_entry mcrypt_functions[] = { /* {{{ */ PHP_FE(mcrypt_ecb, NULL) PHP_FE(mcrypt_cbc, NULL) PHP_FE(mcrypt_cfb, NULL) |