summaryrefslogtreecommitdiff
path: root/ext/mhash
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mhash')
-rw-r--r--ext/mhash/mhash.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/mhash/mhash.c b/ext/mhash/mhash.c
index 1ba76db0c3..04c4ceadf8 100644
--- a/ext/mhash/mhash.c
+++ b/ext/mhash/mhash.c
@@ -67,14 +67,14 @@ static PHP_MINIT_FUNCTION(mhash)
return SUCCESS;
}
-/* proto mhash_count()
+/* proto int mhash_count()
get the number of available hashes */
PHP_FUNCTION(mhash_count)
{
RETURN_LONG(mhash_count());
}
-/* proto mhash_get_block_size(int hash)
+/* proto int mhash_get_block_size(int hash)
get the block size of hash */
PHP_FUNCTION(mhash_get_block_size)
{
@@ -89,7 +89,7 @@ PHP_FUNCTION(mhash_get_block_size)
RETURN_LONG(mhash_get_block_size((*hash)->value.lval));
}
-/* proto mhash_get_hash_name(int hash)
+/* proto string mhash_get_hash_name(int hash)
get the name of hash */
PHP_FUNCTION(mhash_get_hash_name)
{
@@ -111,7 +111,7 @@ PHP_FUNCTION(mhash_get_hash_name)
}
}
-/* proto mhash(int hash, string data)
+/* proto string mhash(int hash, string data)
hash data with hash */
PHP_FUNCTION(mhash)
{