summaryrefslogtreecommitdiff
path: root/ext/hash/hash_snefru.c
diff options
context:
space:
mode:
authorNuno Lopes <nlopess@php.net>2007-01-08 22:29:25 +0000
committerNuno Lopes <nlopess@php.net>2007-01-08 22:29:25 +0000
commitec66c5be3d62b90c0031906f2cbfb51efe62134e (patch)
treedd2333697a22545283948c660c4d00d4ff40958f /ext/hash/hash_snefru.c
parentcdfed7f75713bca9e7703019bbe8c329a8f397a2 (diff)
downloadphp-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_snefru.c')
-rw-r--r--ext/hash/hash_snefru.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/hash/hash_snefru.c b/ext/hash/hash_snefru.c
index b5f7b9f797..6e57b3400f 100644
--- a/ext/hash/hash_snefru.c
+++ b/ext/hash/hash_snefru.c
@@ -193,7 +193,7 @@ PHP_HASH_API void PHP_SNEFRUFinal(unsigned char digest[32], PHP_SNEFRU_CTX *cont
memset(context, 0, sizeof(*context));
}
-php_hash_ops php_hash_snefru_ops = {
+const php_hash_ops php_hash_snefru_ops = {
(php_hash_init_func_t) PHP_SNEFRUInit,
(php_hash_update_func_t) PHP_SNEFRUUpdate,
(php_hash_final_func_t) PHP_SNEFRUFinal,