cvs: php4 /ext/mhash/ mhash.c
[email protected] ("Hartmut Holzgraefe")
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <cvshholzgra959120288@cvsserver> |
hholzgra Wed May 24 00:18:08 2000 EDT
Modified files:
/php4/ext/mhash mhash.c
Log:
protos where lacking return types
Index: php4/ext/mhash/mhash.c
diff -u php4/ext/mhash/mhash.c:1.16 php4/ext/mhash/mhash.c:1.17
--- php4/ext/mhash/mhash.c:1.16 Thu May 18 17:34:29 2000
+++ php4/ext/mhash/mhash.c Wed May 24 00:18:08 2000
@@ -67,14 +67,14 @@
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 @@
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 @@
}
}
-/* proto mhash(int hash, string data)
+/* proto string mhash(int hash, string data)
hash data with hash */
PHP_FUNCTION(mhash)
{