diff options
author | Nuno Lopes <nlopess@php.net> | 2007-01-08 22:29:25 +0000 |
---|---|---|
committer | Nuno Lopes <nlopess@php.net> | 2007-01-08 22:29:25 +0000 |
commit | ec66c5be3d62b90c0031906f2cbfb51efe62134e (patch) | |
tree | dd2333697a22545283948c660c4d00d4ff40958f /ext/hash/hash_whirlpool.c | |
parent | cdfed7f75713bca9e7703019bbe8c329a8f397a2 (diff) | |
download | php-git-ec66c5be3d62b90c0031906f2cbfb51efe62134e.tar.gz |
make the hash_ops structures const and save some memory
# ram memory is so expensive these days...
Diffstat (limited to 'ext/hash/hash_whirlpool.c')
-rw-r--r-- | ext/hash/hash_whirlpool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/hash/hash_whirlpool.c b/ext/hash/hash_whirlpool.c index c9f8caa2ad..47f105b38e 100644 --- a/ext/hash/hash_whirlpool.c +++ b/ext/hash/hash_whirlpool.c @@ -433,7 +433,7 @@ PHP_HASH_API void PHP_WHIRLPOOLFinal(unsigned char digest[64], PHP_WHIRLPOOL_CTX memset(context, 0, sizeof(*context)); } -php_hash_ops php_hash_whirlpool_ops = { +const php_hash_ops php_hash_whirlpool_ops = { (php_hash_init_func_t) PHP_WHIRLPOOLInit, (php_hash_update_func_t) PHP_WHIRLPOOLUpdate, (php_hash_final_func_t) PHP_WHIRLPOOLFinal, |