summaryrefslogtreecommitdiff
path: root/ext/mhash
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2000-05-23 22:18:08 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2000-05-23 22:18:08 +0000
commit83d987b48d7d581bdcce19d81f27b8b99c414471 (patch)
tree2c285eced12f5db62ca3f03d26388c8a3479e801 /ext/mhash
parente09b2d0df40da5a204e75d2e4390dceafbb70f10 (diff)
downloadphp-git-83d987b48d7d581bdcce19d81f27b8b99c414471.tar.gz
protos where lacking return types
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)
{